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
URL: http://svn.boost.org/trac/boost/changeset/79478

Log:
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.
Text files modified:
   trunk/tools/build/v2/test/test_all.py | 9 ++++++++-
   1 files changed, 8 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/test/test_all.py
==============================================================================
--- trunk/tools/build/v2/test/test_all.py (original)
+++ trunk/tools/build/v2/test/test_all.py 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",
          "alias",
          "alternatives",
@@ -185,7 +193,6 @@
          "core_update_now",
          "core_variables_in_actions",
          "custom_generator",
- "collect_debug_info",
          "default_build",
          "default_features",
 # This test is known to be broken itself.


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk