Windows not showing output?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Windows not showing output?

Boost - Build mailing list

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

 


_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Windows not showing output?

Boost - Build mailing list
AMDG

On 09/18/2018 01:06 PM, Kuhl, Brian via Boost-build wrote:
> 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?
> <snip>
>     vxworks_boost_test_run.bat ...
>  <snip>

This a result of invoking a batch script without `call`.
It does not return to the outer batch script.

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: Windows not showing output?

Boost - Build mailing list
Many thanks Steven,

"testing.launcher=call vxworks_boost_test_run.bat"
Worked wonderfully.

( I really should have figured this one out myself, but I'm more than a bit rusty, the last time I did serious BAT file work, was for MS-DOS 5)

Brian  

> -----Original Message-----
> From: Boost-build [mailto:[hidden email]] On Behalf Of
> Subject: Re: [Boost-build] Windows not showing output?
>
> AMDG
>
> On 09/18/2018 01:06 PM, Kuhl, Brian via Boost-build wrote:
> > 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?
> > <snip>
> >     vxworks_boost_test_run.bat ...
> >  <snip>
>
> This a result of invoking a batch script without `call`.
> It does not return to the outer batch script.
>
> In Christ,
> Steven Watanabe
> _______________________________________________
> Unsubscribe & other changes:
> https://lists.boost.org/mailman/listinfo.cgi/boost-build
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build