diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2013-05-23 00:22:05 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2013-05-23 00:22:05 +0530 |
commit | 9e6e5753745d90e05a068287a4c47875b455716e (patch) | |
tree | 870191286dfa22e392662fc1fa4fe1974e567f1f /build-scripts | |
parent | 3930c9f51da86ec69c23cc00e6f467e8f29d28fd (diff) |
Add support to disable waiting for homescreen in LAVA
Diffstat (limited to 'build-scripts')
-rwxr-xr-x | build-scripts/post-build-lava.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py index 5f3cccc..bd508ce 100755 --- a/build-scripts/post-build-lava.py +++ b/build-scripts/post-build-lava.py @@ -340,6 +340,14 @@ def main(): # User can disable the installation of android binaries (doing this will # disable hardware acceleration) enable_android_install_binaries = os.environ.get("LAVA_ANDROID_BINARIES") + # Some devices need not boot to GUI like the Tiny Android builds and builds + # which need a proprietary binary overlay to be installed before expecting + # GUI. + wait_for_homescreen = os.environ.get("LAVA_WAIT_FOR_HOMESCREEN") + if wait_for_homescreen == None: + wait_for_homescreen = True + elif wait_for_homescreen.lower() in ['0','false','no']: + wait_for_homescreen = False # Not set, default to False, because this is relevant only for panda # from Vishal if enable_android_install_binaries == None: @@ -404,7 +412,14 @@ def main(): if enable_android_install_binaries: common_actions.append({"command": "android_install_binaries"}) - common_actions.append({"command": "boot_linaro_android_image"}) + if wait_for_homescreen == False: + common_actions.append({"command": "boot_linaro_android_image", + "parameters": { + "wait_for_home_screen": "false" + } + }) + else: + common_actions.append({"command": "boot_linaro_android_image"}) plan_list = ["LAVA_TEST_PLAN"] sec_plan_prefix = "LAVA_TEST_PLAN_SECONDARY_" |