Merge lp:~saviq/qtmir/add-autopkgtest into lp:qtmir

Proposed by Michał Sawicz
Status: Merged
Approved by: Ricardo Salveti
Approved revision: 307
Merged at revision: 311
Proposed branch: lp:~saviq/qtmir/add-autopkgtest
Merge into: lp:qtmir
Diff against target: 35 lines (+14/-0)
3 files modified
debian/control (+1/-0)
debian/tests/control (+3/-0)
debian/tests/run-tests (+10/-0)
To merge this branch: bzr merge lp:~saviq/qtmir/add-autopkgtest
Reviewer Review Type Date Requested Status
Ubuntu Unity PS integration team Pending
Mir development team Pending
Review via email: mp+246625@code.launchpad.net

Commit message

Add moot autopkgtest to run the standard unit tests

Description of the change

 * Are there any related MPs required for this MP to build/function as expected? Please list.
N
 * Did you perform an exploratory manual test run of your code change and any related functionality?
Y
 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Y

To post a comment you must log in.
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

LGTM

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2015-01-14 09:07:31 +0000
3+++ debian/control 2015-01-15 18:33:50 +0000
4@@ -46,6 +46,7 @@
5 # upstream branch
6 Vcs-Bzr: lp:qtmir
7 Vcs-Browser: http://bazaar.launchpad.net/~mir-team/qtmir/trunk/files
8+Xs-Testsuite: autopkgtest
9
10 Package: qtmir-android
11 Architecture: armhf
12
13=== added directory 'debian/tests'
14=== added file 'debian/tests/control'
15--- debian/tests/control 1970-01-01 00:00:00 +0000
16+++ debian/tests/control 2015-01-15 18:33:50 +0000
17@@ -0,0 +1,3 @@
18+Tests: run-tests
19+Restrictions: build-needed
20+Depends: @,
21
22=== added file 'debian/tests/run-tests'
23--- debian/tests/run-tests 1970-01-01 00:00:00 +0000
24+++ debian/tests/run-tests 2015-01-15 18:33:50 +0000
25@@ -0,0 +1,10 @@
26+#!/bin/sh
27+
28+set -ex
29+
30+# Do nothing here. We don't need to run the tests multiple times, and they
31+# are already being run during the build phase of the autopkgtest, as we
32+# require a built tree to run them, and the tests are run as part of the
33+# normal package build process. We do want to test that things install, though
34+# and at least one test is actually required, for autopkgtest to work.
35+

Subscribers

People subscribed via source and target branches