|
Boost Testing : |
Subject: Re: [Boost-testing] Running boost tests remotely
From: Stijn Devriendt (highguy_at_[hidden])
Date: 2010-03-19 11:17:28
Hi Rene,
Looks like you saved the day. The approach works like a charm.
I'm still a bit confused by the regression.py, run_tests.sh and
library_test_all.sh scripts
which all seem to do the same thing in a different way: run the tests.
I'm now using the run_tests.sh script (tests haven't finished yet,
though) and I'm
eagerly looking forward to the results file (wherever I'll find it...)
Thanks a lot,
Stijn
On Thu, Mar 18, 2010 at 4:43 PM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
> Stijn Devriendt wrote:
>>
>> Is this possible or am I overlooking another option of running the boost
>> tests?
>
> Last time I checked it is possible. I used to do the same for doing iPhone
> testing but you need a rather complex test launch script if you want
> something other than full static binary testing. The way I got it to work
> was to have this in your user-config.jam:
>
> ===
> using darwin : 4.0.1~iphone~coda
> :
> /Developer/Xcode-$(xcode)/Platforms/iPhoneOS.platform/Developer/usr/bin/g++
> -arch arm
> :
> <root>/Developer/iPhone-Coda-$(xcode)/Platforms/iPhoneOS.platform/Developer
> <striper>
> : <architecture>arm <target-os>iphone
> ;
>
> toolset.add-requirements
>
> <toolset-darwin:version>4.0.1~iphone~coda:<testing.launcher>"itest.sh"
> <toolset-darwin:version>4.0.1~iphone~coda:<runtime-link>static
> <toolset-darwin:version>4.0.1~iphone~coda:<link>static
> ;
> ===
>
> The important part being the "toolset.add-requiremtns" declaration so that
> the test script gets used for all targets. In my case since I was dealing
> with dynamic libs my script does a nasty dance of running "otool" and
> copying the dependent libs along with the executable (see attached script).
>
> HTH.
>
> --
> -- Grafik - Don't Assume Anything
> -- Redshift Software, Inc. - http://redshift-software.com
> -- rrivera/acm.org (msn) - grafik/redshift-software.com
> -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail
>
> _______________________________________________
> Boost-Testing mailing list
> Boost-Testing_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-testing
>