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:
@@ -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)\" ")" ;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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)\" ")" ;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user