Boost logo

Boost Testing :

From: Voronkov Konstantin (beowinkle_at_[hidden])
Date: 2005-08-04 09:32:22


Hello, All!

I have problem that process_jam_log does not feel test-type
  attribute in test_log.xml on Win32, boost 1_32_0. I debugged
compiler_status and process_log_jam tools and found the test-type
attribute is required to output correctly the name of the test.

to reproduce the problem you need to process the output
  of bjam with process_log_jam. The the output of bjam is
attached.

While debugging I noticed that needed information to feel
  test_log.xml is filled only in case the bjam outputs
"boost-test(". But the bjam does not outputs anything
like this.

How can I make the bjam to output "boost-test(" string?

Thanks in advance,
Voronkov Konstantin


...found 404 targets...
...using 1 temp target...
...updating 8 targets...
vc-Link ..\bin\boost\EchoTestCases\testPassSample.test\vc7\debug\threading-multi\testPassSample.exe
LINK : LNK6004: ..\bin\boost\EchoTestCases\testPassSample.test\vc7\debug\threading-multi\testPassSample.exe not found or not built by the last incremental link; performing full link
vc-Link ..\bin\boost\EchoTestCases\autoRegTestsSample.test\vc7\debug\threading-multi\autoRegTestsSample.exe
LINK : LNK6004: ..\bin\boost\EchoTestCases\autoRegTestsSample.test\vc7\debug\threading-multi\autoRegTestsSample.exe not found or not built by the last incremental link; performing full link
...using <@boost!EchoTestCases\testFailSample.test\vc7\debug\threading-multi>testFailSample.exe...
execute-test ..\bin\boost\EchoTestCases\testPassSample.test\vc7\debug\threading-multi\testPassSample.run
        1 file(s) copied.
**passed** ..\bin\boost\EchoTestCases\testPassSample.test\vc7\debug\threading-multi\testPassSample.test
execute-test ..\bin\boost\EchoTestCases\autoRegTestsSample.test\vc7\debug\threading-multi\autoRegTestsSample.run
        1 file(s) copied.
**passed** ..\bin\boost\EchoTestCases\autoRegTestsSample.test\vc7\debug\threading-multi\autoRegTestsSample.test
execute-test ..\bin\boost\EchoTestCases\testFailSample.test\vc7\debug\threading-multi\testFailSample.run
====== BEGIN OUTPUT ======
testFailSample
..\EchoTestCases\testFailSample.cpp(8): test false failed in function: 'int __cdecl test_main(int,char *[])'
S:\QA\Technical\UnitTesting\Frameworks\Evaluation\RegressionTests\boost_1_32_0\boost/test/minimal.hpp(123): test run_result == 0 || run_result == boost::exit_success failed in function: 'int __cdecl main(int,char *[])'

**** 2 errors detected
   
EXIT STATUS: 201
====== END OUTPUT ======

    
    ..\bin\boost\EchoTestCases\testFailSample.test\vc7\debug\threading-multi\testFailSample.exe > ..\bin\boost\EchoTestCases\testFailSample.test\vc7\debug\threading-multi\testFailSample.output 2>&1
    set status=%ERRORLEVEL%
    echo. >> ..\bin\boost\EchoTestCases\testFailSample.test\vc7\debug\threading-multi\testFailSample.output
    echo EXIT STATUS: %status% >> ..\bin\boost\EchoTestCases\testFailSample.test\vc7\debug\threading-multi\testFailSample.output
    if %status% EQU 0 (
        copy ..\bin\boost\EchoTestCases\testFailSample.test\vc7\debug\threading-multi\testFailSample.output ..\bin\boost\EchoTestCases\testFailSample.test\vc7\debug\threading-multi\testFailSample.run
    )
    set verbose=1
    if %status% NEQ 0 (
        set verbose=0
    )
    if %verbose% EQU 0 (
        echo ====== BEGIN OUTPUT ======
        type ..\bin\boost\EchoTestCases\testFailSample.test\vc7\debug\threading-multi\testFailSample.output
        echo ====== END OUTPUT ======
    )
    exit %status%

...failed execute-test ..\bin\boost\EchoTestCases\testFailSample.test\vc7\debug\threading-multi\testFailSample.run...
...failed updating 1 target...
...skipped 1 target...
...updated 6 targets...


Boost-testing list run by mbergal at meta-comm.com