$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: grafikrobot_at_[hidden]
Date: 2008-04-26 18:21:50
Author: grafik
Date: 2008-04-26 18:21:50 EDT (Sat, 26 Apr 2008)
New Revision: 44790
URL: http://svn.boost.org/trac/boost/changeset/44790
Log:
Add the test target name to the bjam XML log output to make it easier to match tests to jam targets.
Text files modified: 
   trunk/tools/build/v2/tools/testing.jam |     4 ++++                                    
   1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/tools/testing.jam
==============================================================================
--- trunk/tools/build/v2/tools/testing.jam	(original)
+++ trunk/tools/build/v2/tools/testing.jam	2008-04-26 18:21:50 EDT (Sat, 26 Apr 2008)
@@ -239,6 +239,9 @@
         }
     }
 
+    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 @@
 " ;
         .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>"