Merge lp:~didrocks/indicator-session/hack_for_tests into lp:indicator-session/13.04

Proposed by Didier Roche-Tolomelli
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 381
Merged at revision: 380
Proposed branch: lp:~didrocks/indicator-session/hack_for_tests
Merge into: lp:indicator-session/13.04
Diff against target: 26 lines (+8/-0)
2 files modified
debian/changelog (+4/-0)
debian/rules (+4/-0)
To merge this branch: bzr merge lp:~didrocks/indicator-session/hack_for_tests
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+138062@code.launchpad.net

Commit message

Add a hack for having tests running

Description of the change

Add a hack as it seems running them under dbus-test-runner didn't help.

With this, under pbuilder:
==================
All 4 tests passed
==================

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
Sebastien Bacher (seb128) wrote :

Not sure what's the best way around those issues but at least the hack works and that's better than being blocked...

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-11-30 16:30:14 +0000
3+++ debian/changelog 2012-12-05 07:06:20 +0000
4@@ -26,6 +26,10 @@
5 * debian/control:
6 - clean deprecated Build-Depends on gconf and dbusglib
7
8+ [ Didier Roche ]
9+ * run tests not under fakeroot for dbus tests (which don't seem to be able to
10+ run easily under dbus-test-runner)
11+
12 -- Sebastien Bacher <seb128@ubuntu.com> Fri, 30 Nov 2012 11:11:49 +0100
13
14 indicator-session (12.10.4-0ubuntu1) quantal; urgency=low
15
16=== modified file 'debian/rules'
17--- debian/rules 2012-11-16 18:55:58 +0000
18+++ debian/rules 2012-12-05 07:06:20 +0000
19@@ -15,3 +15,7 @@
20
21 override_dh_auto_configure:
22 dh_auto_configure -- --libexecdir="\$${prefix}/lib/indicator-session"
23+
24+# Hack as it seems it's not possible to easy run that under dbus-test-runner
25+override_dh_auto_test:
26+ env -u LD_PRELOAD dh_auto_test

Subscribers

People subscribed via source and target branches