aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Roche <didier.roche@canonical.com>2012-12-05 09:19:18 +0000
committerTarmac <Unknown>2012-12-05 09:19:18 +0000
commitcb972ad5ba65378b17682c09915b7c9cb3b3aa9b (patch)
treeab00fe2fe49f0c40bf5aefb50bc44c59592a980f
parent7b3703e6ed6bec9f2880a4b40371551077314430 (diff)
parentc72ef61c8740ae95769d3a1ea43514c3f9724997 (diff)
downloadayatana-indicator-session-cb972ad5ba65378b17682c09915b7c9cb3b3aa9b.tar.gz
ayatana-indicator-session-cb972ad5ba65378b17682c09915b7c9cb3b3aa9b.tar.bz2
ayatana-indicator-session-cb972ad5ba65378b17682c09915b7c9cb3b3aa9b.zip
Add a hack for having tests running.
Approved by Sebastien Bacher, PS Jenkins bot.
-rw-r--r--debian/changelog4
-rw-r--r--debian/rules4
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 060d8a7..a9c9181 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,10 @@ indicator-session (12.10.5-0ubuntu1) UNRELEASED; urgency=low
* debian/control:
- clean deprecated Build-Depends on gconf and dbusglib
+ [ Didier Roche ]
+ * run tests not under fakeroot for dbus tests (which don't seem to be able to
+ run easily under dbus-test-runner)
+
-- Sebastien Bacher <seb128@ubuntu.com> Fri, 30 Nov 2012 11:11:49 +0100
indicator-session (12.10.4-0ubuntu1) quantal; urgency=low
diff --git a/debian/rules b/debian/rules
index 54cfd06..f679369 100644
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,7 @@ override_dh_install:
override_dh_auto_configure:
dh_auto_configure -- --libexecdir="\$${prefix}/lib/indicator-session"
+
+# Hack as it seems it's not possible to easy run that under dbus-test-runner
+override_dh_auto_test:
+ env -u LD_PRELOAD dh_auto_test