diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2013-05-06 10:10:11 +0200 |
---|---|---|
committer | Milo Casagrande <milo@ubuntu.com> | 2013-05-06 10:10:11 +0200 |
commit | 9cc02cd447e2ef0d752040e4776ad94de650fb2d (patch) | |
tree | c72767dc5fa4e13b5358da6c406ef445470ddccc /build-scripts/post-build-lava.py | |
parent | 797bfa4729a128aee545bc4d3aedb686d16581ba (diff) | |
parent | f389854113366a504c51fe288a762b2f4f74b646 (diff) |
Call lava-android-test-shell for each tests.
Diffstat (limited to 'build-scripts/post-build-lava.py')
-rwxr-xr-x | build-scripts/post-build-lava.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py index 7ef58bf..6443aae 100755 --- a/build-scripts/post-build-lava.py +++ b/build-scripts/post-build-lava.py @@ -143,12 +143,14 @@ def gen_lava_android_test_actions(tests=[]): continue test_actions.append(test) - if len(test_actions) > 0: + ## make the next test installation be able to execute + ## when one test installation failed + for test_action in list(set(test_actions)): inst_action = { "command": "lava_android_test_install", "parameters": { # ensure only unique test names - "tests": list(set(test_actions)) + "tests": [test_action] } } actions.append(inst_action) |