D16780: Fix the way how we quit kactivitymanagerd from the unit test

Martin Flöser <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
graesslin created this revision.
graesslin added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
graesslin requested review of this revision.

REVISION SUMMARY
  Kactivitymanagerd is a libexec executable now so we cannot just execute
  it and cannot know it's path. We need to stop it as otherwise ctest does
  not terminate the testActivities. This change uses dbus to quit the
  kactivitymanagerd.

TEST PLAN
  ctest did not timeout on testActivities

REPOSITORY
  R108 KWin

BRANCH
  kill-activitymanager

REVISION DETAIL
  https://phabricator.kde.org/D16780

AFFECTED FILES
  autotests/integration/activities_test.cpp

To: graesslin, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.