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
=== modified file 'debian/changelog'
--- debian/changelog 2012-11-30 16:30:14 +0000
+++ debian/changelog 2012-12-05 07:06:20 +0000
@@ -26,6 +26,10 @@
26 * debian/control:26 * debian/control:
27 - clean deprecated Build-Depends on gconf and dbusglib27 - clean deprecated Build-Depends on gconf and dbusglib
2828
29 [ Didier Roche ]
30 * run tests not under fakeroot for dbus tests (which don't seem to be able to
31 run easily under dbus-test-runner)
32
29 -- Sebastien Bacher <seb128@ubuntu.com> Fri, 30 Nov 2012 11:11:49 +010033 -- Sebastien Bacher <seb128@ubuntu.com> Fri, 30 Nov 2012 11:11:49 +0100
3034
31indicator-session (12.10.4-0ubuntu1) quantal; urgency=low35indicator-session (12.10.4-0ubuntu1) quantal; urgency=low
3236
=== modified file 'debian/rules'
--- debian/rules 2012-11-16 18:55:58 +0000
+++ debian/rules 2012-12-05 07:06:20 +0000
@@ -15,3 +15,7 @@
1515
16override_dh_auto_configure:16override_dh_auto_configure:
17 dh_auto_configure -- --libexecdir="\$${prefix}/lib/indicator-session"17 dh_auto_configure -- --libexecdir="\$${prefix}/lib/indicator-session"
18
19# Hack as it seems it's not possible to easy run that under dbus-test-runner
20override_dh_auto_test:
21 env -u LD_PRELOAD dh_auto_test

Subscribers

People subscribed via source and target branches