Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79478 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-13 15:17:04

Author: jurko
Date: 2012-07-13 15:17:04 EDT (Fri, 13 Jul 2012)
New Revision: 79478

Updated Boost Build tests to run the 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.
Text files modified:
   trunk/tools/build/v2/test/ | 9 ++++++++-
   1 files changed, 8 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/test/
--- trunk/tools/build/v2/test/ (original)
+++ trunk/tools/build/v2/test/ 2012-07-13 15:17:04 EDT (Fri, 13 Jul 2012)
@@ -149,6 +149,14 @@
     "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",
@@ -185,7 +193,6 @@
- "collect_debug_info",
 # This test is known to be broken itself.

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at