Subject: Re: [Boost-build] Need an example of JAMSHELL usage with run.py
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-06-19 11:03:02
On 06/18/2013 08:14 AM, Antony Polukhin wrote:
> Offcical documentation contains information and example for JAMSHELL
> variable http://www.boost.org/boost-build2/doc/html/jam/language.html#jam.language.variables.builtins.jamshell
> . But all my attempts to use it with run.py failed.
> I've tried `run.py
> and adding `JAMSHELL = d:/testing_boost_android/run_on_android.bat %
> ;` to user-config.jam.
> run_on_android.bat contains `echo "Input argumentas are %*"`
> So, how can I use JAMSHELL with run.py?
-s sets JAMSHELL in the global module. An updating
action is evaluated in the module of its toolset.
There's no way to set JAMSHELL globally. Also, I
assume that you only want the script to be called
for running the tests, not for the compiler. What
you want is testing.runner=.../run_on_android.bat.
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