Merge lp:~saviq/unity/phablet.fix-run_on_device into lp:unity/phablet

Proposed by Michał Sawicz
Status: Merged
Approved by: Albert Astals Cid
Approved revision: no longer in the source branch.
Merged at revision: 580
Proposed branch: lp:~saviq/unity/phablet.fix-run_on_device
Merge into: lp:unity/phablet
Diff against target: 70 lines (+33/-4)
3 files modified
debian/changelog (+30/-0)
run (+1/-1)
run_on_device (+2/-3)
To merge this branch: bzr merge lp:~saviq/unity/phablet.fix-run_on_device
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Albert Astals Cid (community) Approve
Review via email: mp+158348@code.launchpad.net

Commit message

use the ./build and ./run scripts on the device

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
Albert Astals Cid (aacid) wrote :

Works

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2013-04-04 22:55:13 +0000
+++ debian/changelog 2013-04-11 12:55:24 +0000
@@ -1,3 +1,33 @@
1qml-phone-shell (1.70) quantal; urgency=low
2
3 * CMake fixes
4 * improve HUD PeakDetector performance
5 * initial QML coverage measurement
6 * enable coverage analysis for C/C++
7 * require out-of-source builds
8 * fix incorrect linkage in hudclient.cpp
9 * reduce warnings
10 * add an optional on-commit test hook
11 * tests for:
12 * IndicatorRow
13 * Tile
14 * SearchIndicator
15 * trailing whitespace
16 * PageHeader
17 * SearchHistoryModel
18 * ResponsiveFlowView
19 * SideStage
20 * Indicators
21 * move tests into subdirectories
22 * increase test setup consistency
23 * remove some dead code
24 * register CategoryFilter to QML
25 * use a static python install path for autopilot
26 * merge first stages of libunity-api
27 * drop unneeded moc includes
28
29 -- Michał Sawicz <michal.sawicz@canonical.com> Thu, 11 Apr 2013 14:42:22 +0200
30
1qml-phone-shell (1.69) quantal; urgency=low31qml-phone-shell (1.69) quantal; urgency=low
232
3 [ Sergio Schvezov ]33 [ Sergio Schvezov ]
434
=== modified file 'run'
--- run 2013-04-05 14:39:17 +0000
+++ run 2013-04-11 12:55:24 +0000
@@ -1,4 +1,4 @@
1#!/bin/sh1#!/bin/sh
22
3UNITY_CORE_BUILD_DIR=$PWD/../unity_build/build3UNITY_CORE_BUILD_DIR=$PWD/../unity_build/build
4LD_LIBRARY_PATH=$UNITY_CORE_BUILD_DIR/lib ./builddir/qml-phone-shell4LD_LIBRARY_PATH=$UNITY_CORE_BUILD_DIR/lib ./builddir/qml-phone-shell $@
55
=== modified file 'run_on_device'
--- run_on_device 2013-03-21 21:39:31 +0000
+++ run_on_device 2013-04-11 12:55:24 +0000
@@ -69,8 +69,7 @@
69}69}
7070
71build() {71build() {
72 exec_with_ssh "cd $CODE_DIR/ && PATH=/usr/lib/ccache:$PATH cmake -DCMAKE_BUILD_TYPE=Debug ."72 exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/ && PATH=/usr/lib/ccache:$PATH ./build"
73 exec_with_ssh PATH=/usr/lib/ccache:$PATH "make -j${NUM_JOBS}" --directory=$CODE_DIR/
74}73}
7574
76run() {75run() {
@@ -88,7 +87,7 @@
88 adb shell "chroot /data/ubuntu /usr/bin/service ubuntu-session restart"87 adb shell "chroot /data/ubuntu /usr/bin/service ubuntu-session restart"
89 fi88 fi
90 adb shell pkill $BINARY89 adb shell pkill $BINARY
91 exec_with_ssh "cd $CODE_DIR/ && ./$BINARY $RUN_OPTIONS"90 exec_with_ssh "cd $CODE_DIR/ && ./run $RUN_OPTIONS"
92 if [ $CONTAINS_SHELL -eq 0 ]; then91 if [ $CONTAINS_SHELL -eq 0 ]; then
93 echo "Restoring $SERVICEFILE on device from $SERVICEFILE.backup"92 echo "Restoring $SERVICEFILE on device from $SERVICEFILE.backup"
94 adb shell cp $SERVICEFILE.backup $SERVICEFILE93 adb shell cp $SERVICEFILE.backup $SERVICEFILE

Subscribers

People subscribed via source and target branches