2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-11 11:42:14 +00:00

Updated self-test procedure

[SVN r13328]
This commit is contained in:
Dave Abrahams
2002-04-01 05:19:25 +00:00
parent ca658a966e
commit 18cbe01f14
2 changed files with 4 additions and 8 deletions

View File

@@ -91,13 +91,13 @@ rule load ( module-name : filename ? : search * : module-tag ? )
}
loading-modules = $(loading-modules[1--2]) ;
local test = [ peek : BOOST_BUILD_TEST ] ;
if ! $(suppress-test) && $(test)-is-nonempty
local argv = [ peek : ARGV ] ;
if ! $(suppress-test)
{
# run any pending tests
for local m in $(untested)
{
if ( $(test) = 1 ) || ( $(m) in $(test) )
if ( --debug in $(argv) ) || ( --debug-module=$(m) in $(argv) )
{
ECHO testing module $(m)... ;
module $(m)

View File

@@ -1,9 +1,5 @@
Development code for new build system. To test, execute:
jam -sBOOST_BUILD_PATH=.:$BOOST_ROOT -sBOOST_BUILD_TEST=1 -sJAMFILE=test.jam
on unix, or
jam -sBOOST_BUILD_PATH=.;%BOOST_ROOT% -sBOOST_BUILD_TEST=1 -sJAMFILE=test.jam
bjam --debug -sJAMFILE=test.jam
on windows