diff --git a/testing.jam b/testing.jam index 3269805c7..255865485 100755 --- a/testing.jam +++ b/testing.jam @@ -58,7 +58,13 @@ rule boost-test ( sources + : target-type : requirements * : test-name ? ) ] ; } - ECHO "(boost-test" \"$(test-name)\" ":" \"$(source-files)\" ")" ; + # Extract values of the feature + local dump-test-info = [ get-values : $(requirements) ] ; + + # Format them into a single string of quoted strings + dump-test-info = \"$(dump-test-info:J=\"\ \")\" ; + + ECHO "(boost-test" \"$(test-name)\" [$(dump-test-info)] ":" \"$(source-files)\" ")" ; } } diff --git a/v1/testing.jam b/v1/testing.jam index 3269805c7..255865485 100755 --- a/v1/testing.jam +++ b/v1/testing.jam @@ -58,7 +58,13 @@ rule boost-test ( sources + : target-type : requirements * : test-name ? ) ] ; } - ECHO "(boost-test" \"$(test-name)\" ":" \"$(source-files)\" ")" ; + # Extract values of the feature + local dump-test-info = [ get-values : $(requirements) ] ; + + # Format them into a single string of quoted strings + dump-test-info = \"$(dump-test-info:J=\"\ \")\" ; + + ECHO "(boost-test" \"$(test-name)\" [$(dump-test-info)] ":" \"$(source-files)\" ")" ; } }