Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-21 01:11:08


On Sunday 21 October 2007 13:07:27 Gennadiy Rozental wrote:
>
> "Vladimir Prus" <ghost_at_[hidden]> wrote in message
> news:200710151018.39727.ghost_at_cs.msu.su...
> > 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.
>
> But this is expected result.

So, this is 'run-fail' test? Then, the output above means the program exited with
zero status. Really, this logic was carried over essentially unmodified from V1,
and did not see much changes, or any bug reports. Do you have positive evidence
that this is Boost.Build problem, and if so, can you please provide it?

- 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