Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-05-29 16:33:32


With following Jamfile.v2:
<----- cut here --------
import testing
;

project
: requirements
: default-build debug
;

exe test.exe
: test.cpp
;

unit-test test.test
: test.exe
;

testing.capture-output test.out
: test.exe
;

>----- cut here --------
the test.test works:
<----- cut here --------
cd /home/evansl/prog_dev/boost-cvs/boost/sand-box/lje/libs/policy_ptr/test/
bjam --v2 test.test
warning: Python location is not configured
warning: the Boost.Python library won't be built
******************************************************

Building Boost.Regex with Unicode/ICU support disabled.
HINT: define the environment variable ICU_PATH to point to the
root directy of your ICU installation if you have one.
Couldn't find utypes.h in

******************************************************
...found 20 targets...
...updating 1 target...
testing.unit-test
../../../../../bin.v2/sand-box/lje/libs/policy_ptr/test/gcc/debug/test.test.passed
test.cpp:4
...updated 1 target...
>----- cut here --------
but test.out does not:
<----- cut here --------
cd /home/evansl/prog_dev/boost-cvs/boost/sand-box/lje/libs/policy_ptr/test/
bjam --v2 test.out
warning: Python location is not configured
warning: the Boost.Python library won't be built
******************************************************

Building Boost.Regex with Unicode/ICU support disabled.
HINT: define the environment variable ICU_PATH to point to the
root directy of your ICU installation if you have one.
Couldn't find utypes.h in

******************************************************
notice: could not find main target test.out
notice: assuming it's a name of file to create
...found 2 targets...
...updating 1 target...
warning: using independent target test.exe
capture-output test.out
====== BEGIN OUTPUT ======
/bin/sh: line 3: test.exe: command not found

EXIT STATUS: 127
====== END OUTPUT ======

test.exe > test.output 2>&1
status=$?
echo >> test.output
echo EXIT STATUS: $status >> test.output
if test $status -eq 0 ; then
cp test.output test.out
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat test.output
echo ====== END OUTPUT ======
fi
exit $status

...failed capture-output test.out...
...failed updating 1 target...

Compilation exited abnormally with code 1 at Sun May 29 16:25:22

>----- cut here --------

Please, what am I doing wrong?

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk