Make --test mode run without spawning kactivitymanagerd or restarting
ClosedPublic

Authored by davidedmundson on Jun 7 2017, 11:11 AM.

Details

Summary

This allows us to run the plasma-tests repo on your system without it
destroying all your real activities. Even though one run tests in a nested
dbus sessions, kactivities will still load and meddle with your real database
at the same time as the real daemon is. It's messy and broken.

It also allows us to remove a hack in the plasma-tests script.

Test Plan

Ran normal plasma, everything is the same.
Ran plasma-tests everything there now works properly

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Jun 7 2017, 11:11 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 7 2017, 11:11 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol added a subscriber: apol.Jun 7 2017, 1:13 PM

+1 LGTM

hein accepted this revision.Jun 19 2017, 9:51 AM
This revision is now accepted and ready to land.Jun 19 2017, 9:51 AM
This revision was automatically updated to reflect the committed changes.