Boost logo

Boost :

From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2005-06-14 09:54:57

David Abrahams <dave <at>> writes:
> >> So if you do
> >>
> >> bjam -a -otest.bat -sTOOLS=mingw
> >>
> >> can you then execute all the commands in test.bat? Does the "del"
> >> command work?
> >
> > I assume you mean
> >
> > bjam -a -otest.bat -sTOOLS=mingw RunFailTest
> >
> > (note the missing .run)
> I meant what I wrote. Does it fail to work?

Yes, the output is

don't know how to make
...found 1 target...
...can't find 1 target...

> If so, just use the target called "test"

Ok, that works but there's still no del command in test.bat. I can't add
attachments in the online news reader, so I copy-pasted the relevant part at
the end of this message. I conducted this test and the one without the -o
switch on my recently reinstalled Laptop, but the results are exactly the same
as on my computer at home. I also tested with the prebuilt bjam executable
available on SourceForge as well as a newly built one from the current CVS,
still no change.

BTW, the whole problem arised because I wanted to test that some code asserts
under certain circumstances. As a workaround I now have BOOST_ASSERT throw an
exception and test for that with a normal run rule. Not optimal but ok for
testing purposes. Therefore, if you don't want to invest more time in this
that's ok with me.

Thanks very much,

Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header. 
    "C:\ProgramFiles\MinGW\bin\g++"   -c -Wall -ftemplate-depth-255   -g -O0 -
fno-inline -mno-cygwin   -I"..\..\..\bin\boost\libs\statechart\test"   -
I "D:\Andreas\My Documents\Statechart\boost_1_32_0"  -
o "..\..\..\bin\boost\libs\statechart\test\RunFailTest.test\mingw\debug\RunFail
Test.obj"  "..\..\..\libs\statechart\test\RunFailTest.cpp" 
    "C:\ProgramFiles\MinGW\bin\g++"   "-Wl,--enable-auto-image-base"   -g -Wl,-
-allow-multiple-definition -mno-cygwin  -
o "..\..\..\bin\boost\libs\statechart\test\RunFailTest.test\mingw\debug\RunFail
Test.exe"  -
"  -
L"C:/ProgramFiles/MinGW/lib"  "..\..\..\bin\boost\libs\statechart\test\RunFailT
est.test\mingw\debug\RunFailTest.obj"  "..\..\..\bin\boost\libs\test\build\libb
oost_test_exec_monitor.lib\mingw\debug\libboost_test_exec_monitor.lib"  "..\..\
    set PATH=C:/ProgramFiles/MinGW/lib;%PATH%
> ..\..\..\bin\boost\libs\statechart\test\RunFailTest.test\mingw\debug\RunFailT
est.output  2>&1
    set status=%ERRORLEVEL% 
>> ..\..\..\bin\boost\libs\statechart\test\RunFailTest.test\mingw\debug\RunFail
    echo EXIT STATUS: %status%  
>> ..\..\..\bin\boost\libs\statechart\test\RunFailTest.test\mingw\debug\RunFail
    if %status% EQU 0 ( 
copy  ..\..\..\bin\boost\libs\statechart\test\RunFailTest.test\mingw\debug\RunF
ailTest.output  ..\..\..\bin\boost\libs\statechart\test\RunFailTest.test\mingw\
    set verbose=1 
    if %status% NEQ 0 ( 
        set verbose=0 
    if %verbose% EQU 0 ( 
        echo ====== BEGIN OUTPUT ======
type  ..\..\..\bin\boost\libs\statechart\test\RunFailTest.test\mingw\debug\RunF
        echo ====== END OUTPUT ======
    exit %status% 

Boost list run by bdawes at, gregod at, cpdaniel at, john at