mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
allyourbase.jam:
* Add "nothing" fake target. testing.jam: * Prevent build-no non-targets from attempting to dump the test info. * Add dumping of an association from test ID to test target name. So that we can direct automated testing to build specific targets base on the IDs. [SVN r27939]
This commit is contained in:
@@ -523,7 +523,7 @@ set-as-singleton
|
||||
# dwa 6/17/01 - added test
|
||||
DEPENDS all : shell files lib dll exe obj ;
|
||||
DEPENDS all shell files lib dll exe obj test : first ;
|
||||
NOTFILE all first shell files lib dll exe obj dirs clean uninstall test ;
|
||||
NOTFILE all first shell files lib dll exe obj dirs clean uninstall test nothing ;
|
||||
ALWAYS clean uninstall ;
|
||||
|
||||
#
|
||||
|
||||
@@ -70,7 +70,7 @@ rule boost-test ( sources + : target-type : requirements * : test-name ? : defau
|
||||
.all-boost-tests += $(result) ;
|
||||
}
|
||||
|
||||
if --dump-tests in $(ARGV)
|
||||
if --dump-tests in $(ARGV) && $(result)
|
||||
{
|
||||
dump-test $(library) : $(result) : $(requirements) ;
|
||||
}
|
||||
@@ -153,6 +153,13 @@ local rule dump-test ( library ? : targets + : requirements * )
|
||||
":" \"$(source-files)\"
|
||||
;
|
||||
|
||||
if --dump-test-targets in $(ARGV)
|
||||
{
|
||||
ECHO boost-test(TARGET)
|
||||
\"$(test-id)\" [$(dump-test-info)] ":"
|
||||
\"$(targets)\"
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user