|
Boost-Build : |
Subject: Re: [Boost-build] Adding command line arguments to tests
From: Christian Auby (christian_at_[hidden])
Date: 2009-11-17 07:34:57
I'm running the build from Pulse continous integration server, and I
want to capture the test results. Instead the build fails so it says
"tests: none".
Is there a way to make it continue on test errors, create the report,
and only report target errors if a non-test target has a compilation error?
Regards,
Christian
Johan Nilsson wrote:
> Christian Auby wrote:
>> Snip:
>>
>> ---
>> bjam toolset=gcc -j2
>> ...patience...
>> ...patience...
>> ...found 2380 targets...
>> ...updating 2 targets...
>> testing.capture-output
>> bin\add.test\gcc-mingw-3.4.5\debug\link-static\threading-multi\add.run
>> ====== BEGIN OUTPUT ======
>> <TestLog><TestSuite name="Tests"><TestCase
>> name="universeInOrder"><Error file="tests/add.cpp" line="11">check
>> add(2, 2) == 5
>> failed</Error><TestingTime>0</TestingTime></TestCase></TestSuite></TestLog>
>>
>> *** 1 failure detected in test suite "Tests"
>>
>
> [snip]
>
>>
>> ...failed testing.capture-output
>> bin\add.test\gcc-mingw-3.4.5\debug\link-static\threading-multi\add.run...
>> ...failed updating 1 target...
>> ...skipped 1 target...
>> ---
>>
>> Why is this target failing? testing.capture-output is an internal
>> boost.test target I guess? This only happens if the test fails.
>
> IIUC the target fails because the test fails (as intended). The
> "testing.capture-output" is an implementation detail.
>
> / Johan
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
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