Merge lp:~vishalbhoj/linaro-android-build-tools/Nexus-support-Disable-homescreen-wait into lp:linaro-android-build-tools

Proposed by vishal
Status: Merged
Approved by: Milo Casagrande
Approved revision: no longer in the source branch.
Merged at revision: 614
Proposed branch: lp:~vishalbhoj/linaro-android-build-tools/Nexus-support-Disable-homescreen-wait
Merge into: lp:linaro-android-build-tools
Diff against target: 44 lines (+19/-1)
1 file modified
build-scripts/post-build-lava.py (+19/-1)
To merge this branch: bzr merge lp:~vishalbhoj/linaro-android-build-tools/Nexus-support-Disable-homescreen-wait
Reviewer Review Type Date Requested Status
Milo Casagrande (community) Approve
Paul Sokolovsky Pending
Review via email: mp+165226@code.launchpad.net

Description of the change

Adds support to submit jobs to Nexus and also add support to disable waiting for homescreen in LAVA lab.

To post a comment you must log in.
Revision history for this message
Milo Casagrande (milo) wrote :

It looks good for me.

review: Approve
614. By vishal

Added support to submit jobs to Nexus and to disable waiting for homescreen in LAVA lab.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'build-scripts/post-build-lava.py'
2--- build-scripts/post-build-lava.py 2013-05-06 08:10:11 +0000
3+++ build-scripts/post-build-lava.py 2013-05-22 19:05:44 +0000
4@@ -36,6 +36,9 @@
5 "vexpress_rtsm": {
6 "test_device_type": "rtsm_ve-a15x4-a7x4",
7 },
8+ "full_maguro": {
9+ "test_device_type": "nexus",
10+ },
11 }
12
13 OPTION_SUFFIX = "_OPTION"
14@@ -337,6 +340,14 @@
15 # User can disable the installation of android binaries (doing this will
16 # disable hardware acceleration)
17 enable_android_install_binaries = os.environ.get("LAVA_ANDROID_BINARIES")
18+ # Some devices need not boot to GUI like the Tiny Android builds and builds
19+ # which need a proprietary binary overlay to be installed before expecting
20+ # GUI.
21+ wait_for_homescreen = os.environ.get("LAVA_WAIT_FOR_HOMESCREEN")
22+ if wait_for_homescreen == None:
23+ wait_for_homescreen = True
24+ elif wait_for_homescreen.lower() in ['0','false','no']:
25+ wait_for_homescreen = False
26 # Not set, default to False, because this is relevant only for panda
27 # from Vishal
28 if enable_android_install_binaries == None:
29@@ -401,7 +412,14 @@
30 if enable_android_install_binaries:
31 common_actions.append({"command": "android_install_binaries"})
32
33- common_actions.append({"command": "boot_linaro_android_image"})
34+ if wait_for_homescreen == False:
35+ common_actions.append({"command": "boot_linaro_android_image",
36+ "parameters": {
37+ "wait_for_home_screen": "false"
38+ }
39+ })
40+ else:
41+ common_actions.append({"command": "boot_linaro_android_image"})
42
43 plan_list = ["LAVA_TEST_PLAN"]
44 sec_plan_prefix = "LAVA_TEST_PLAN_SECONDARY_"

Subscribers

People subscribed via source and target branches