From 678fe54e159eef58830aa097822f42e31b999677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Fri, 13 Jul 2012 19:17:04 +0000 Subject: [PATCH] Updated Boost Build tests to run the collect_debug_info.py test only when running the tests non-interactively, i.e. when collecting the test results in an xml output file. When running the tests interactively and observing the results on the console there is no need for this always-failing test to spoil the 'all tests passed' result - the user will generally know everything about his system and can still run this test directly if he wishes to see what it would have returned. [SVN r79478] --- test/test_all.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/test_all.py b/test/test_all.py index 4bf68b980..b54f428f2 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -149,6 +149,14 @@ critical_tests = ["unit_tests", "module_actions", "startup_v2", "core_d12", "core_typecheck", "core_delete_module", "core_language", "core_arguments", "core_varnames", "core_import_module"] +# We want to collect debug information about the test site before running any +# of the tests, but only when not running the tests interactively. Then the +# user can easily run this always-failing test directly to see what it would +# have returned and there is no need to have it spoil a possible 'all tests +# passed' result. +if xml: + critical_tests.insert(0, "collect_debug_info") + tests = ["absolute_sources", "alias", "alternatives", @@ -185,7 +193,6 @@ tests = ["absolute_sources", "core_update_now", "core_variables_in_actions", "custom_generator", - "collect_debug_info", "default_build", "default_features", # This test is known to be broken itself.