mirror of
https://github.com/boostorg/build.git
synced 2026-02-21 15:02:19 +00:00
fixed RUN_ALL_TESTS
[SVN r14172]
This commit is contained in:
10
testing.jam
10
testing.jam
@@ -249,6 +249,11 @@ rule build-test ( test-file-generator test-file + : sources + : requirements * )
|
||||
|
||||
# Generate the test file
|
||||
$(test-file-generator) $(test-file) : $(dependency) ;
|
||||
|
||||
if $(RUN_ALL_TESTS)
|
||||
{
|
||||
ALWAYS $(test-file) ;
|
||||
}
|
||||
}
|
||||
|
||||
### Rules for testing whether a file compiles ###
|
||||
@@ -297,11 +302,6 @@ rule run-test ( target : sources + : requirements * )
|
||||
INPUT_FILES on $(target) = $(gRUN_TEST_INPUT_FILES) ;
|
||||
ARGS on $(target) = $(gRUN_TEST_ARGS) ;
|
||||
capture-run-output $(target) : $(executable) ;
|
||||
|
||||
if $(RUN_ALL_TESTS)
|
||||
{
|
||||
ALWAYS $(target) ;
|
||||
}
|
||||
}
|
||||
|
||||
# The rule is just used for argument checking
|
||||
|
||||
@@ -249,6 +249,11 @@ rule build-test ( test-file-generator test-file + : sources + : requirements * )
|
||||
|
||||
# Generate the test file
|
||||
$(test-file-generator) $(test-file) : $(dependency) ;
|
||||
|
||||
if $(RUN_ALL_TESTS)
|
||||
{
|
||||
ALWAYS $(test-file) ;
|
||||
}
|
||||
}
|
||||
|
||||
### Rules for testing whether a file compiles ###
|
||||
@@ -297,11 +302,6 @@ rule run-test ( target : sources + : requirements * )
|
||||
INPUT_FILES on $(target) = $(gRUN_TEST_INPUT_FILES) ;
|
||||
ARGS on $(target) = $(gRUN_TEST_ARGS) ;
|
||||
capture-run-output $(target) : $(executable) ;
|
||||
|
||||
if $(RUN_ALL_TESTS)
|
||||
{
|
||||
ALWAYS $(target) ;
|
||||
}
|
||||
}
|
||||
|
||||
# The rule is just used for argument checking
|
||||
|
||||
Reference in New Issue
Block a user