Merge lp:~mzanetti/phablet-tools/phablet-test-run-fix-installing into lp:phablet-tools

Proposed by Michael Zanetti
Status: Merged
Approved by: Sergio Schvezov
Approved revision: 87
Merged at revision: 88
Proposed branch: lp:~mzanetti/phablet-tools/phablet-test-run-fix-installing
Merge into: lp:phablet-tools
Diff against target: 27 lines (+5/-3)
1 file modified
phablet-test-run (+5/-3)
To merge this branch: bzr merge lp:~mzanetti/phablet-tools/phablet-test-run-fix-installing
Reviewer Review Type Date Requested Status
Sergio Schvezov Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+161990@code.launchpad.net

Commit message

fix installation of multiple local packages

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'phablet-test-run'
--- phablet-test-run 2013-04-15 22:15:20 +0000
+++ phablet-test-run 2013-05-01 23:41:26 +0000
@@ -72,19 +72,21 @@
7272
73install_packages() {73install_packages() {
7474
75 if test -n $TESTPACKAGES; then75 if test -n "$TESTPACKAGES"; then
76 exec_with_adb apt-get -y -q install $TESTPACKAGES76 exec_with_adb apt-get -y -q install $TESTPACKAGES
77 fi77 fi
7878
79 if test -n $LOCALPACKAGES; then79 if test -n "$LOCALPACKAGES"; then
80 exec_with_adb mkdir -p /tmp/phablet-run-test/80 exec_with_adb mkdir -p /tmp/phablet-run-test/
81 exec_with_adb rm -rf /tmp/phablet-run-test/*81 exec_with_adb rm -rf /tmp/phablet-run-test/*
82 PACKAGELIST=""
82 for PACKAGEPATH in $LOCALPACKAGES; do83 for PACKAGEPATH in $LOCALPACKAGES; do
83 PACKAGE=$(basename $PACKAGEPATH)84 PACKAGE=$(basename $PACKAGEPATH)
84 echo "Pushing $PACKAGE..."85 echo "Pushing $PACKAGE..."
85 adb push $PACKAGEPATH /data/ubuntu/tmp/phablet-run-test/86 adb push $PACKAGEPATH /data/ubuntu/tmp/phablet-run-test/
86 exec_with_adb dpkg -i /tmp/phablet-run-test/$PACKAGE87 PACKAGELIST="$PACKAGELIST /tmp/phablet-run-test/$PACKAGE"
87 done88 done
89 exec_with_adb dpkg -i $PACKAGELIST
88 fi90 fi
89}91}
9092

Subscribers

People subscribed via source and target branches