diff options
author | Andy Doan <andy.doan@linaro.org> | 2012-01-24 14:00:58 -0600 |
---|---|---|
committer | Andy Doan <andy.doan@linaro.org> | 2012-01-24 14:00:58 -0600 |
commit | 5ed37dd22decbe8f245505cc5a3960eaa075bf6c (patch) | |
tree | e9d49da863443eb6e03c609941dced29c3c8e759 /build-scripts/post-build-lava.py | |
parent | 0cca24f34adeddb6f08ff1b815ee934b723b7b33 (diff) |
allow LAVA_TEST_PLAN to run tests multiple times
This updates the script to generate a json job with only
unique test names for the install step. This allows something
like:
LAVA_TEST_PLAN=v8,v8,v8,skia,skia,skia,0xbench
Diffstat (limited to 'build-scripts/post-build-lava.py')
-rwxr-xr-x | build-scripts/post-build-lava.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py index ee1e557..c17f8d6 100755 --- a/build-scripts/post-build-lava.py +++ b/build-scripts/post-build-lava.py @@ -52,7 +52,8 @@ def gen_lava_android_test_actions(tests=[]): inst_action = { "command": "lava_android_test_install", "parameters": { - "tests": tests + # ensure only unique test names + "tests": list(set(tests)) } } actions.append(inst_action) |