2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Allow special <test-info> feature for augmented --dump-tests functionality

[SVN r16753]
This commit is contained in:
Dave Abrahams
2003-01-05 15:51:20 +00:00
parent c55ca9170f
commit 2bdb3fbdcd
2 changed files with 14 additions and 2 deletions

View File

@@ -58,7 +58,13 @@ rule boost-test ( sources + : target-type : requirements * : test-name ? )
] ;
}
ECHO "(boost-test" \"$(test-name)\" ":" \"$(source-files)\" ")" ;
# Extract values of the <test-info> feature
local dump-test-info = [ get-values <test-info> : $(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)\" ")" ;
}
}

View File

@@ -58,7 +58,13 @@ rule boost-test ( sources + : target-type : requirements * : test-name ? )
] ;
}
ECHO "(boost-test" \"$(test-name)\" ":" \"$(source-files)\" ")" ;
# Extract values of the <test-info> feature
local dump-test-info = [ get-values <test-info> : $(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)\" ")" ;
}
}