From f389854113366a504c51fe288a762b2f4f74b646 Mon Sep 17 00:00:00 2001 From: Yongqin Liu Date: Mon, 22 Apr 2013 14:07:51 +0800 Subject: change to use many lava_android_test_install which only install one test, which will not break the next test installation --- build-scripts/post-build-lava.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build-scripts') 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) -- cgit v1.2.3