|
Boost : |
Subject: Re: [boost] [testing] run.py and cross compilation
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2013-05-02 13:33:35
2013/5/2 Steven Watanabe <watanabesj_at_[hidden]>:
> AMDG
>
> On 05/02/2013 02:48 AM, Antony Polukhin wrote:
>> Hi,
>>
>> Is there some possibility to compile sources on one platform (x86) and
>> then run compiled tests on other platform (ARM/Android) using run.py
>> script?
>>
>> This is required, because Android SDK exists only for x86 so there is
>> no way to compile tests on ARM Android device.
>>
>
> I think you'll first need a host script that
> can copy programs to the device and run them.
> Then it's just:
> --bjam-options=testing.runner=run_on_device
I've got the general idea and looked through the code of
regression/src/regression.py.
But a lot of questions arise about how this idea shall be implemented.
I've got an ssh access to ARM test device and will have a common
storage for ARM and x86.
Instead of rewriting runner, is there some possibility to add `ssh
host_at_login /mnt/path_to_common_storage/` to the beginning of all test
running commands? Will that work?
-- Best regards, Antony Polukhin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk