Merge lp:~timo-jyrinki/ubuntu-ui-toolkit/APtests-clean-qml-cache into lp:ubuntu-ui-toolkit/staging

Proposed by Timo Jyrinki
Status: Merged
Approved by: Zoltan Balogh
Approved revision: 1447
Merged at revision: 1447
Proposed branch: lp:~timo-jyrinki/ubuntu-ui-toolkit/APtests-clean-qml-cache
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 12 lines (+2/-0)
1 file modified
tests/uitk_test_plan.sh (+2/-0)
To merge this branch: bzr merge lp:~timo-jyrinki/ubuntu-ui-toolkit/APtests-clean-qml-cache
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu SDK team Pending
Review via email: mp+252689@code.launchpad.net

Commit message

Clean QML cache after updating package, before reboot.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/uitk_test_plan.sh'
2--- tests/uitk_test_plan.sh 2015-03-08 10:13:28 +0000
3+++ tests/uitk_test_plan.sh 2015-03-12 06:30:20 +0000
4@@ -224,6 +224,8 @@
5 adb -s ${SERIALNUMBER} shell "echo ${PASSWORD} |sudo -S apt-get update 2>&1|grep -v password > /dev/null"
6 # Install the autopilot tests for the apps
7 adb -s ${SERIALNUMBER} shell "echo ${PASSWORD} |sudo -S apt-get install --yes --force-yes ${AP_PACKAGES} 2>&1 | grep -v password > /dev/null"
8+ echo "Cleaning QML cache for the next boot"
9+ adb -s ${SERIALNUMBER} shell "rm -rf ~/.cache/QML/Apps/"
10 }
11
12 function compare_results {

Subscribers

People subscribed via source and target branches