aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/post-build-lava.py
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2013-04-22 14:07:51 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2013-04-22 14:07:51 +0800
commitf389854113366a504c51fe288a762b2f4f74b646 (patch)
treec5270910b4f83937e3e1e95273e1bb1c6ee98f70 /build-scripts/post-build-lava.py
parentcb391b1a3c1b5a7f43ecf036daefd4eeb2197af6 (diff)
change to use many lava_android_test_install which only install one test, which will not break the next test installation
Diffstat (limited to 'build-scripts/post-build-lava.py')
-rwxr-xr-xbuild-scripts/post-build-lava.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py
index f5778df..22c906e 100755
--- a/build-scripts/post-build-lava.py
+++ b/build-scripts/post-build-lava.py
@@ -142,12 +142,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)