diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-12 16:15:38 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-12 16:15:38 +0100 |
commit | 6b77c86bb91af090fde9a0505b99fa908c41dd8b (patch) | |
tree | 30af4b2c601bba1d6bf029ab3804594af62637eb /tests/integration/indicator-sound-test-base.cpp | |
parent | afd70079f631e8a19c8f1c3049bed28e9afe7891 (diff) | |
download | ayatana-indicator-sound-6b77c86bb91af090fde9a0505b99fa908c41dd8b.tar.gz ayatana-indicator-sound-6b77c86bb91af090fde9a0505b99fa908c41dd8b.tar.bz2 ayatana-indicator-sound-6b77c86bb91af090fde9a0505b99fa908c41dd8b.zip |
tests/CmakeLists.txt: Provide XDG_RUNTIME_DIR in test environment.
Diffstat (limited to 'tests/integration/indicator-sound-test-base.cpp')
-rw-r--r-- | tests/integration/indicator-sound-test-base.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp index 46d6247..cdc1b2a 100644 --- a/tests/integration/indicator-sound-test-base.cpp +++ b/tests/integration/indicator-sound-test-base.cpp @@ -56,6 +56,7 @@ void IndicatorSoundTestBase::SetUp() { setenv("HOME", TEST_HOME, true); setenv("XDG_DATA_DIRS", XDG_DATA_DIRS, true); + setenv("XDG_RUNTIME_DIR", XDG_RUNTIME_DIR, true); setenv("DBUS_SYSTEM_BUS_ADDRESS", dbusTestRunner.systemBus().toStdString().c_str(), true); setenv("DBUS_SESSION_BUS_ADDRESS", dbusTestRunner.sessionBus().toStdString().c_str(), true); dbusMock.registerNotificationDaemon(); |