mirror of
https://github.com/boostorg/build.git
synced 2026-02-18 01:52:17 +00:00
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]
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user