Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-05-21 10:17:14


Gennadiy Rozental wrote:
> "Thorsten Ottosen" <thorsten.ottosen_at_[hidden]> wrote in message
> news:44703A33.40402_at_dezide.com...
>
>>Hi,
>>
>>The test docs state that
>>
>>"If you got "memory access violation" message (or any other message
>>indication fatal or system error) when you run you test, to get more
>>information of error location add --catch_system_errors=no to the test
>>run command line:"
>>
>>(see http://www.boost.org/libs/test/doc/usage/msvc_net.html)
>>
>>How do I do this via bjam?
>
>
> I think you could specify CLA in Jamfile:
> : #args
> --catch_system_errors=no

But *where* in the Jam file. I have the follwing:

import testing ;

rule range-test ( name : includes * )
{
     return [
         run $(name).cpp
         <lib>../../test/build/boost_unit_test_framework
         <lib>../../regex/build/boost_regex
         :
         :
         : <include>$(BOOST_ROOT)
           $(includes)
         ] ;
}

test-suite range :
     [ range-test array ]
  ;

Thanks

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk