|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-15 02:18:39
On Monday 15 October 2007 01:05:53 Gennadiy Rozental wrote:
> est_example1 referenced in Jamfile like this:
>
> [ run-fail est_example1.cpp unit_test_framework ]
>
> I am seeing followign output from bjam:
>
> MkDir1 ..\..\..\bin.v2\libs\test\example\est_example1.test
> MkDir1 ..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0
> MkDir1 ..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug
> MkDir1
> ..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi
> compile-c-c++
> ..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.obj
> est_example1.cpp
> msvc.link
> ..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.exe
> testing.capture-output
> ..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.run
> 1 file(s) copied.
>
> set Path=D:\Source
> Code\boost-trunk\bin.v2\libs\test\build\msvc-8.0\debug\asynch-exceptions-on\threading-multi;%Path%
>
> "..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.exe"
> >
> "..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.output"
> 2>&1
> set status=%ERRORLEVEL%
> echo. >>
> "..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.output"
> echo EXIT STATUS: %status% >>
> "..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.output"
> if %status% EQU 0 (
> copy
> "..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.output"
> "..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.run"
> )
> set verbose=0
> if %status% NEQ 0 (
> set verbose=1
> )
> if %verbose% EQU 1 (
> echo ====== BEGIN OUTPUT ======
> type
> "..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.output"
> echo ====== END OUTPUT ======
> )
> exit %status%
>
> ...failed testing.capture-output
> ..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.run...
> ...removing
> ..\..\..\bin.v2\libs\test\example\est_example1.test\msvc-8.0\debug\threading-multi\est_example1.run
> ...failed updating 1 target...
>
> Why is it failing?
Presumably, because the program being run exits with a non-zero status.
- Volodya
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