mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Add the test target name to the bjam XML log output to make it easier to match tests to jam targets.
[SVN r44790]
This commit is contained in:
@@ -239,6 +239,9 @@ rule dump-test ( target )
|
||||
}
|
||||
}
|
||||
|
||||
local target-name = [ $(project).get location ] // [ $(target).name ] .test ;
|
||||
target-name = $(target-name:J=) ;
|
||||
|
||||
local r = [ $(target).requirements ] ;
|
||||
# Extract values of the <test-info> feature.
|
||||
local test-info = [ $(r).get <test-info> ] ;
|
||||
@@ -251,6 +254,7 @@ rule dump-test ( target )
|
||||
" ;
|
||||
.contents on $(.out-xml) +=
|
||||
"$(nl) <test type=\"$(type)\" name=\"$(name)\">"
|
||||
"$(nl) <target><![CDATA[$(target-name)]]></target>"
|
||||
"$(nl) <info><![CDATA[$(test-info)]]></info>"
|
||||
"$(nl) <source><![CDATA[$(source-files)]]></source>"
|
||||
"$(nl) </test>"
|
||||
|
||||
Reference in New Issue
Block a user