mirror of
https://github.com/boostorg/boost.git
synced 2025-04-17 18:46:14 +00:00
Minor change to add argument checking
[SVN r11752]
This commit is contained in:
parent
d3cc059e54
commit
f133a25b50
1 changed files with 5 additions and 2 deletions
|
@ -131,8 +131,8 @@ rule run-test # target : sources : requirements
|
|||
|
||||
# The .test file goes with the other subvariant targets
|
||||
# normalization is a hack to get the slashes going the right way on Windoze
|
||||
local normalized-locate = [ FDirName [ split-path $(LOCATE_TARGET) ] ] ;
|
||||
MakeLocate $(<) : $(normalized-locate) ;
|
||||
local LOCATE_TARGET = [ FDirName [ split-path $(LOCATE_TARGET) ] ] ;
|
||||
MakeLocate $(<) : $(LOCATE_TARGET) ;
|
||||
|
||||
DEPENDS $(<) : $(executable) $(gRUN_TEST_INPUT_FILES) ;
|
||||
INPUT_FILES on $(<) = $(gRUN_TEST_INPUT_FILES) ;
|
||||
|
@ -144,6 +144,9 @@ rule run-test # target : sources : requirements
|
|||
ALWAYS $(<) ;
|
||||
}
|
||||
}
|
||||
|
||||
# The rule is just used for argument checking
|
||||
rule capture-run-output ( target : executable + ) { }
|
||||
actions capture-run-output bind INPUT_FILES
|
||||
{
|
||||
$(>) $(ARGS) $(INPUT_FILES) > $(<:S=.error)
|
||||
|
|
Loading…
Add table
Reference in a new issue