Boost logo

Boost-Build :

Subject: Re: [Boost-build] Need an example of JAMSHELL usage with run.py
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2013-06-20 05:40:54


2013/6/19 Steven Watanabe <watanabesj_at_[hidden]>:
> you want is testing.runner=.../run_on_android.bat.

That did not worked. Command `run.py
"--bjam-options=testing.runner=d:/testing_boost_android/run_on_android.bat
% -j8 -d+4 threadapi=pthread target-os=linux toolset=gcc-android"
--runner=apolukhin-Android --incremental` failed and wrote to console:

# Running Boost.Build tests
Traceback (most recent call last):
  File "D:\testing_boost_android\run.py", line 60, in <module>
    runner(root)
  File "D:\testing_boost_android\tools_regression_src\regression.py",
line 205, in __init__
    self.main()
  File "D:\testing_boost_android\tools_regression_src\regression.py",
line 566, in main
    getattr(self,action_m)()
  File "D:\testing_boost_android\tools_regression_src\regression.py",
line 531, in command_regression
    self.command_test()
  File "D:\testing_boost_android\tools_regression_src\regression.py",
line 329, in command_test
    self.command_test_boost_build()
  File "D:\testing_boost_android\tools_regression_src\regression.py",
line 369, in command_test_boost_build
    "boost/bin.v2/libs/any/test/any_test.test"));
WindowsError: [Error 3] The system cannot find the path specified:
'D:\\testing_boost_android\\results\\boost/bin.v2/libs/any/test/any_test.test/*.*'

It also wrote to bjam.log following:

error: Invalid property '<testing.runner>d:': unknown feature 'testing.runner'.
D:/testing_boost_android/tools_bb/build\property.jam:299: in
property.validate from module property
D:/testing_boost_android/tools_bb/build\build-request.jam:216: in
convert-command-line-element from module build-request
D:/testing_boost_android/tools_bb/build\build-request.jam:154: in
build-request.from-command-line from module build-request
D:/testing_boost_android/tools_bb\build-system.jam:583: in load from
module build-system
D:\testing_boost_android\tools_bb/kernel\modules.jam:289: in import
from module modules
D:\testing_boost_android\tools_bb/kernel/bootstrap.jam:139: in
boost-build from module
D:\testing_boost_android\boost\boost-build.jam:17: in module scope from module

--
Best regards,
Antony Polukhin

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