Diffusion KWin 9f6b0f98b5ea

Fix the way how we quit kactivitymanagerd from the unit test

Authored by graesslin on Nov 9 2018, 4:25 PM.

Description

Fix the way how we quit kactivitymanagerd from the unit test

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

Reviewers: KWin

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D16780