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
=== modified file 'build-scripts/post-build-lava.py'
--- build-scripts/post-build-lava.py 2013-05-06 08:10:11 +0000
+++ build-scripts/post-build-lava.py 2013-05-22 19:05:44 +0000
@@ -36,6 +36,9 @@
36 "vexpress_rtsm": {36 "vexpress_rtsm": {
37 "test_device_type": "rtsm_ve-a15x4-a7x4",37 "test_device_type": "rtsm_ve-a15x4-a7x4",
38 },38 },
39 "full_maguro": {
40 "test_device_type": "nexus",
41 },
39}42}
4043
41OPTION_SUFFIX = "_OPTION"44OPTION_SUFFIX = "_OPTION"
@@ -337,6 +340,14 @@
337 # User can disable the installation of android binaries (doing this will340 # User can disable the installation of android binaries (doing this will
338 # disable hardware acceleration)341 # disable hardware acceleration)
339 enable_android_install_binaries = os.environ.get("LAVA_ANDROID_BINARIES")342 enable_android_install_binaries = os.environ.get("LAVA_ANDROID_BINARIES")
343 # Some devices need not boot to GUI like the Tiny Android builds and builds
344 # which need a proprietary binary overlay to be installed before expecting
345 # GUI.
346 wait_for_homescreen = os.environ.get("LAVA_WAIT_FOR_HOMESCREEN")
347 if wait_for_homescreen == None:
348 wait_for_homescreen = True
349 elif wait_for_homescreen.lower() in ['0','false','no']:
350 wait_for_homescreen = False
340 # Not set, default to False, because this is relevant only for panda 351 # Not set, default to False, because this is relevant only for panda
341 # from Vishal352 # from Vishal
342 if enable_android_install_binaries == None:353 if enable_android_install_binaries == None:
@@ -401,7 +412,14 @@
401 if enable_android_install_binaries:412 if enable_android_install_binaries:
402 common_actions.append({"command": "android_install_binaries"})413 common_actions.append({"command": "android_install_binaries"})
403414
404 common_actions.append({"command": "boot_linaro_android_image"})415 if wait_for_homescreen == False:
416 common_actions.append({"command": "boot_linaro_android_image",
417 "parameters": {
418 "wait_for_home_screen": "false"
419 }
420 })
421 else:
422 common_actions.append({"command": "boot_linaro_android_image"})
405423
406 plan_list = ["LAVA_TEST_PLAN"]424 plan_list = ["LAVA_TEST_PLAN"]
407 sec_plan_prefix = "LAVA_TEST_PLAN_SECONDARY_"425 sec_plan_prefix = "LAVA_TEST_PLAN_SECONDARY_"

Subscribers

People subscribed via source and target branches