Merge lp:~3v1n0/bamf/tests-dbus-cleanup into lp:bamf

Proposed by Marco Trevisan (Treviño)
Status: Merged
Approved by: Francis Ginther
Approved revision: 542
Merged at revision: 542
Proposed branch: lp:~3v1n0/bamf/tests-dbus-cleanup
Merge into: lp:bamf
Diff against target: 15 lines (+5/-1)
1 file modified
tests/Makefile.am.gtests (+5/-1)
To merge this branch: bzr merge lp:~3v1n0/bamf/tests-dbus-cleanup
Reviewer Review Type Date Requested Status
Francis Ginther Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+168247@code.launchpad.net

Commit message

Makefile.am.gtests: kill the launched dbus-daemon after running the tests

Description of the change

Kill the launched dbus-daemon when tests are over.

To post a comment you must log in.
lp:~3v1n0/bamf/tests-dbus-cleanup updated
542. By Marco Trevisan (Treviño)

Makefile.am.gtests: kill the launched dbus-daemon after running the tests

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote :

Tested in a pbuilder and it works. Approve.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/Makefile.am.gtests'
2--- tests/Makefile.am.gtests 2013-06-07 07:36:18 +0000
3+++ tests/Makefile.am.gtests 2013-06-08 16:31:27 +0000
4@@ -24,7 +24,11 @@
5 $(DBUS_LAUNCH) > $(LOG_PATH)/sessionbus.sh; \
6 source $(LOG_PATH)/sessionbus.sh; \
7 \
8- make $(AM_MAKEFLAGS) -k test
9+ make $(AM_MAKEFLAGS) -k test;
10+ \
11+ source $(LOG_PATH)/sessionbus.sh; \
12+ rm $(LOG_PATH)/sessionbus.sh; \
13+ kill $$DBUS_SESSION_BUS_PID;
14
15 check-local: test-headless
16

Subscribers

People subscribed via source and target branches