|
Boost-Build : |
Subject: [Boost-build] Windows not showing output?
From: Kuhl, Brian (brian.kuhl_at_[hidden])
Date: 2018-09-18 19:06:36
When testing vxworks from the boost_1.68/status directory on Linux and a test fails I see failure in the build console, but NOT on Windows?
====== BEGIN OUTPUT ======
Test failure details
====== END OUTPUT ======
Brian
Wind River
Here's an example of what I see on windows with b2 ... -d2
(Note that the *.output file does contain the build log, and ERRORLEVEL is set correctly; just the %verbose% output isn't showing up) :
testing.capture-output ..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.run
set status=0
if %status% NEQ 0 (
echo Skipping test execution due to testing.execute=off
exit 0
)
vxworks_boost_test_run.bat "..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.vxe" > "..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.output" 2>&1
set status=%ERRORLEVEL%
echo. >> "..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.output"
echo EXIT STATUS: %status% >> "..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.output"
if %status% EQU 0 (
copy "..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.output" "..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.run"
)
set verbose=0
if %status% NEQ 0 (
set verbose=1
)
if %verbose% EQU 1 (
echo ====== BEGIN OUTPUT ======
type "..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.output"
echo ====== END OUTPUT ======
)
exit %status%
...failed testing.capture-output ..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.run...
...removing outdated ..\bin.v2\libs\thread\test\ex_strict_lock_lib.test\clng-vxwrk-4.2.1\dbg\inln-fl\lnk-sttc\optmz-spd\sttc-only-on\trgt-os-vxwrk\thrdp-pthrd\thrd-mlt\ex_strict_lock_lib.test
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