2
0
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:
Rene Rivera
2005-04-02 19:53:00 +00:00
parent f31980afe7
commit 34d554c5fd
2 changed files with 9 additions and 2 deletions

View File

@@ -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 ;
#

View File

@@ -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)\"
;
}
}