2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-01 08:22:15 +00:00

Warning about writing to the console when running the tests for Boost Build. (#470)

* Add a warning to running the Boost Build tests about outputting to the console in a configuration jam file.

* Fix the tests if the toolset passed has a version.
This commit is contained in:
Edward Diener
2019-08-28 08:10:31 -04:00
committed by Rene Rivera
parent 25ce5386f3
commit d8cdc48fa6
2 changed files with 12 additions and 2 deletions

View File

@@ -114,8 +114,13 @@ elif hasattr(os, "uname"):
default_os = os.uname()[0].lower()
def prepare_prefixes_and_suffixes(toolset, target_os=default_os):
prepare_suffix_map(toolset, target_os)
prepare_library_prefix(toolset, target_os)
ind = toolset.find('-')
if ind == -1:
rtoolset = toolset
else:
rtoolset = toolset[:ind]
prepare_suffix_map(rtoolset, target_os)
prepare_library_prefix(rtoolset, target_os)
def prepare_suffix_map(toolset, target_os=default_os):

View File

@@ -117,6 +117,11 @@
<tt>test-config.jam</tt> in <tt>$boost_build_root/test</tt> directory. In
this case, <tt>site-config.jam</tt> and <tt>user-config.jam</tt> will be
ignored for testing.</li>
<li>Make sure that in the configuration jam file(s) that you use you generate
no console output, ie. with the Boost Build 'ECHO' rule. Such console output
in the configuration jam file(s) will cause a number of tests to automatically
fail which would otherwise succeed.</li>
</ol>
<p>When all is set, you can run all the tests using the <tt>test_all.py</tt>