mirror of
https://github.com/boostorg/build.git
synced 2026-02-21 15:02:19 +00:00
Fix for some test programs that require some form of input stream by
providing a null one for them to open instead of the non-existent pipes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Copyright 2005 Dave Abrahams
|
||||
# Copyright 2002, 2003, 2004, 2005, 2006 Vladimir Prus
|
||||
# Copyright 2014 Rene Rivera
|
||||
# Copyright 2014-2015 Rene Rivera
|
||||
# Copyright 2014 Microsoft Corporation
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
@@ -537,6 +537,7 @@ if [ os.name ] = NT
|
||||
.SHELL_SET = "set " ;
|
||||
.CATENATE = type ;
|
||||
.CP = copy ;
|
||||
.NULLIN = ;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -550,6 +551,7 @@ else
|
||||
.SHELL_SET = "" ;
|
||||
.CATENATE = cat ;
|
||||
.CP = cp ;
|
||||
.NULLIN = "<" "/dev/null" ;
|
||||
}
|
||||
|
||||
|
||||
@@ -571,7 +573,7 @@ actions capture-output bind INPUT_FILES output-file
|
||||
echo Skipping test execution due to testing.execute=off
|
||||
exit 0
|
||||
$(.ENDIF)
|
||||
$(LAUNCHER) "$(>)" $(ARGS) "$(INPUT_FILES)" > "$(output-file)" 2>&1
|
||||
$(LAUNCHER) "$(>)" $(ARGS) "$(INPUT_FILES)" > "$(output-file)" 2>&1 $(.NULLIN)
|
||||
$(.SET_STATUS)
|
||||
$(.RUN_OUTPUT_NL) >> "$(output-file)"
|
||||
echo EXIT STATUS: $(.STATUS) >> "$(output-file)"
|
||||
|
||||
Reference in New Issue
Block a user