Hi,
I'm trying to run CTS using lava-android-test locally. It sort of works, but I have problems passing parameters properly. Whatever I do i tries to run all CTS tests. The --package parameter is ignored. As example I tried: lava-android-test run cts -o cts.results -O "--package android.bionic --timeout 72000"
As a result CTS package was downloaded from testdata.validation.linaro.org but instead of running android.bionic I got android.aadb , android.acceleration, android.accessibility and so on. So I assume the parameters don't get passed properly. Any help on debugging this problem is appreciated. I used latest lava-android-test installed from pip.
Thanks, milosz
Hi, Milosz
Sorry, I am not sure if the pip install the latest lava-android-test. Could you please try like this?
1. git clone ssh://git@git.linaro.org/lava/lava-android-test.git 2. mkdir /tmp/workspace/virtualenv -p 3. virtualenv /tmp/workspace/virtualenv/ 4. source /tmp/workspace/virtualenv/bin/activate 5. cd lava-android-test 6. python setup.py install
After did that, I can run lava-android-test like this: lava-android-test run cts -o selinux.json -O "--cts-pkg android-cts-aarch64-master-hacks.zip --package android.security --timeout 72000"
Thanks, Yongqin Liu
On 16 July 2014 00:19, Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
Hi,
I'm trying to run CTS using lava-android-test locally. It sort of works, but I have problems passing parameters properly. Whatever I do i tries to run all CTS tests. The --package parameter is ignored. As example I tried: lava-android-test run cts -o cts.results -O "--package android.bionic --timeout 72000"
As a result CTS package was downloaded from testdata.validation.linaro.org but instead of running android.bionic I got android.aadb , android.acceleration, android.accessibility and so on. So I assume the parameters don't get passed properly. Any help on debugging this problem is appreciated. I used latest lava-android-test installed from pip.
Thanks, milosz
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
On 16 July 2014 01:40, YongQin Liu yongqin.liu@linaro.org wrote:
Hi, Milosz
Sorry, I am not sure if the pip install the latest lava-android-test. Could you please try like this?
git clone ssh://git@git.linaro.org/lava/lava-android-test.git mkdir /tmp/workspace/virtualenv -p virtualenv /tmp/workspace/virtualenv/ source /tmp/workspace/virtualenv/bin/activate cd lava-android-test python setup.py install
appears to be the same version 0.16.2. I hope the version was updated when the code changed. I will check later today if that works.
After did that, I can run lava-android-test like this: lava-android-test run cts -o selinux.json -O "--cts-pkg android-cts-aarch64-master-hacks.zip --package android.security --timeout 72000"
I'm running CTS on TC2 and I'm not using --cts-pkg option. It downloads some default package. http://testdata.validation.linaro.org/cts/android-cts-linux_x86-arm-latest.z...
milosz
On 16 July 2014 08:51, Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
On 16 July 2014 01:40, YongQin Liu yongqin.liu@linaro.org wrote:
Hi, Milosz
Sorry, I am not sure if the pip install the latest lava-android-test. Could you please try like this?
git clone ssh://git@git.linaro.org/lava/lava-android-test.git mkdir /tmp/workspace/virtualenv -p virtualenv /tmp/workspace/virtualenv/ source /tmp/workspace/virtualenv/bin/activate cd lava-android-test python setup.py install
appears to be the same version 0.16.2. I hope the version was updated when the code changed. I will check later today if that works.
Installing from repository solved the problem. Can someone: - bump the version of the tool in source code? - upload to pip so the version is identical in all places?
milosz
linaro-android@lists.linaro.org