aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-scripts/post-build-lava.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py
index f7abc89..e01dce8 100755
--- a/build-scripts/post-build-lava.py
+++ b/build-scripts/post-build-lava.py
@@ -56,9 +56,9 @@ REBOOT_TOKEN = '[system-reboot]'
def gen_lava_android_test_actions(tests=[]):
actions = []
- test_actions = [test for test in tests if test != REBOOT_TOKEN]
if len(tests) == 0:
return actions
+ test_actions = [test for test in tests if test != REBOOT_TOKEN]
if len(test_actions) > 0:
inst_action = {