Merge lp://qastaging/~asac/lava-android-test/install-prep-4bench.remove-wallpaper into lp://qastaging/lava-android-test

Proposed by Alexander Sack
Status: Merged
Merged at revision: 170
Proposed branch: lp://qastaging/~asac/lava-android-test/install-prep-4bench.remove-wallpaper
Merge into: lp://qastaging/lava-android-test
Diff against target: 42 lines (+38/-0)
1 file modified
lava_android_test/test_definitions/install_prep_4bench.py (+38/-0)
To merge this branch: bzr merge lp://qastaging/~asac/lava-android-test/install-prep-4bench.remove-wallpaper
Reviewer Review Type Date Requested Status
Yongqin Liu Approve
vishal Pending
Review via email: mp+110521@code.qastaging.launchpad.net

Description of the change

add install prep step for benchmarking; allow user to prepare android lava install for a benchmarking TEST_PLAN.

goal is:

TEST_PLAN=install-prep-4bench,[reboot],sleep,0xbench,0xbench,0xbench,[reboot],sleep,v8,v8,v8,...

To post a comment you must log in.
Revision history for this message
Alexander Sack (asac) wrote :

as usual, be double careful of the code. it was not run. thanks for helping me test and get this in.

170. By Alexander Sack

add install-prep-4bench test: prepares system install for benchmarking; for now remove wallpaper

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

31 +ADB_SHELL_STEPS = ['rm -f /data/system/wallpaper_info.xml', "echo install_prep_4bench.wallpaper: PASS"]
because the rm in android does not support the -f option, so we need to change it to:
ADB_SHELL_STEPS = ['rm /data/system/wallpaper_info.xml', "echo install_prep_4bench.wallpaper: PASS"]

I have tested it, and after the test, the files does not /data/system/wallpaper_info.xml again.
But there seems on change on the wallpaper except we do the reboot.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches