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-26 08:48:54


2013/6/26 Juraj Ivančić <juraj.ivancic_at_[hidden]>:
> On 26.6.2013. 10:53, Antony Polukhin wrote:
>>
>> Any ideas?
>>
>>
>>> error: Invalid property '<testing.runner>d:': unknown feature
>>> 'testing.runner'.
>
>
> I think that the proper name is 'testing.launcher'

that partially helped. Now I have other error. This is written to console:

D:\testing_boost_android\boost\status>"D:\testing_boost_android\tools_bjam\bin.ntx86\bjam.exe"
"-sBOOST_BUILD_PATH=D:\testing_boost_android;D:\testing_boost
_android\tools_bb" "-sBOOST_ROOT=D:\testing_boost_android\boost"
"--boost=D:\testing_boost_android\boost"
"--boost-build=D:\testing_boost_android\tools_bb"
"--debug-configuration" -l300 -d2 preserve-test-targets=off
--dump-tests testing.launcher=d:/testing_boost_android/run_on_android.bat
 -j8 -d+4 threadapi=p
thread target-os=linux toolset=gcc-android
"--build-dir=D:\testing_boost_android\results"
1>>"D:\testing_boost_android\results\bjam.log" 2>&1
# 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/*.*'

This is written to results/bjam.log :

...updated 32 targets...
    - valgrind : no
(builtin): in sequence.transform
ERROR: rule "windows-to-linux-path" unknown in module "python".
D:/testing_boost_android/tools_bb/tools\python.jam:1240: in
python.capture-output
D:/testing_boost_android/tools_bb/kernel\modules.jam:107: in modules.call-in
D:/testing_boost_android/tools_bb/util\indirect.jam:98: in indirect.call
D:/testing_boost_android/tools_bb/build\virtual-target.jam:794: in
class_at_action.actualize
D:/testing_boost_android/tools_bb/build\virtual-target.jam:311: in
actualize-action
D:/testing_boost_android/tools_bb/build\virtual-target.jam:493: in
actualize-no-scanner
D:/testing_boost_android/tools_bb/build\virtual-target.jam:134: in
class_at_virtual-target.actualize
D:/testing_boost_android/tools_bb/build\virtual-target.jam:815: in
actualize-source-type
D:/testing_boost_android/tools_bb/build\virtual-target.jam:836: in
actualize-sources
D:/testing_boost_android/tools_bb/build\virtual-target.jam:776: in
class_at_action.actualize
D:/testing_boost_android/tools_bb/build\virtual-target.jam:311: in
actualize-action
D:/testing_boost_android/tools_bb/build\virtual-target.jam:493: in
actualize-no-scanner
D:/testing_boost_android/tools_bb/build\virtual-target.jam:134: in
class_at_virtual-target.actualize
D:/testing_boost_android/tools_bb\build-system.jam:720: in load
D:\testing_boost_android\tools_bb/kernel\modules.jam:289: in import
D:\testing_boost_android\tools_bb/kernel/bootstrap.jam:139: in boost-build
D:\testing_boost_android\boost\boost-build.jam:17: in module scope

I start testing with the following line:
run.py "--bjam-options=testing.launcher=d:/testing_boost_android/run_on_android.bat
% -j8 -d+4 threadapi=pthread target-os=linux toolset=gcc-android"
--bjam-toolset=msvc --pjl-toolset=msvc --runner=apolukhin-Android
--incremental

--
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