aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>2012-12-06 10:05:18 -0500
committerMathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>2012-12-06 10:05:18 -0500
commit32c7a3f3a74a74543b8c33447261b103bb165f60 (patch)
tree3e6174211f7769ca54c7e4ed6c7e89cedebf7b17 /debian
parent2333cc937e08c8027ff62faceea6e383d0fc9b78 (diff)
downloadayatana-indicator-session-32c7a3f3a74a74543b8c33447261b103bb165f60.tar.gz
ayatana-indicator-session-32c7a3f3a74a74543b8c33447261b103bb165f60.tar.bz2
ayatana-indicator-session-32c7a3f3a74a74543b8c33447261b103bb165f60.zip
- Add XS-Testsuite: autopkgtest.
* debian/tests: - Add start-service test; verify that the indicator can be started from DBUS. - Add debian/tests/control.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/control1
-rw-r--r--debian/tests/control3
-rw-r--r--debian/tests/start-service3
4 files changed, 12 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index d4a6e10..14c76e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,11 @@ indicator-session (12.10.5-0ubuntu1) UNRELEASED; urgency=low
- Remove libpackagekit-glib2-dev and libpolkit-gobject-1-dev
from Build-Depends. (LP: #1085100)
- Remove packagekit from Recommends
+ - Add XS-Testsuite: autopkgtest.
+ * debian/tests:
+ - Add start-service test; verify that the indicator can be started from
+ DBUS.
+ - Add debian/tests/control.
* Automatic snapshot from revision 373 (bootstrap):
- Check to make sure that create_display_proxy() succeeded before using the
proxy pointer that gets returned. (LP: #1078119)
diff --git a/debian/control b/debian/control
index d910c9c..0432587 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,7 @@ Homepage: https://launchpad.net/indicator-session
# and sync up the code again.
Vcs-Bzr: https://code.launchpad.net/~indicator-applet-developers/indicator-session/trunk.13.04
Vcs-Browser: https://bazaar.launchpad.net/~indicator-applet-developers/indicator-session/trunk.13.04/files
+XS-Testsuite: autopkgtest
Package: indicator-session
Architecture: any
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..c1ccd70
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: start-service
+Depends: dbus-test-runner, indicator-session
+Restrictions: build-needed
diff --git a/debian/tests/start-service b/debian/tests/start-service
new file mode 100644
index 0000000..c1d59c2
--- /dev/null
+++ b/debian/tests/start-service
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+dbus-test-runner -t tests/test-service