diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-16 10:36:41 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-16 10:36:41 +0100 |
commit | 5eab5bda27cbf8837addbc480ebab5e75a6e1372 (patch) | |
tree | 1563bce610aba348a5c7909a7d92e1b840634fa6 /tests/integration | |
parent | 81a2976123ac89d29628a610d3ac96f1d57beadd (diff) | |
download | ayatana-indicator-sound-5eab5bda27cbf8837addbc480ebab5e75a6e1372.tar.gz ayatana-indicator-sound-5eab5bda27cbf8837addbc480ebab5e75a6e1372.tar.bz2 ayatana-indicator-sound-5eab5bda27cbf8837addbc480ebab5e75a6e1372.zip |
tests/: Rename FAKE_HOME to TEST_HOME.
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/integration/indicator-sound-test-base.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt index 452006b..623fbc4 100644 --- a/tests/integration/CMakeLists.txt +++ b/tests/integration/CMakeLists.txt @@ -32,7 +32,7 @@ add_definitions(-DSOUND_SERVICE_BIN="${CMAKE_BINARY_DIR}/src/ayatana-indicator-s -DTEST_SOUND="${CMAKE_SOURCE_DIR}/tests/integration/test-sound.wav" -DQT_NO_KEYWORDS=1 -DXDG_DATA_DIRS="${XDG_DATA_DIRS}" - -DFAKE_HOME="${FAKE_HOME}" + -DTEST_HOME="${TEST_HOME}" ) if(EXISTS "/usr/share/accountsservice/interfaces/com.ubuntu.AccountsService.Sound.xml") diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp index fcc44ad..46d6247 100644 --- a/tests/integration/indicator-sound-test-base.cpp +++ b/tests/integration/indicator-sound-test-base.cpp @@ -54,7 +54,7 @@ IndicatorSoundTestBase::~IndicatorSoundTestBase() void IndicatorSoundTestBase::SetUp() { - setenv("HOME", FAKE_HOME, true); + setenv("HOME", TEST_HOME, true); setenv("XDG_DATA_DIRS", XDG_DATA_DIRS, true); setenv("DBUS_SYSTEM_BUS_ADDRESS", dbusTestRunner.systemBus().toStdString().c_str(), true); setenv("DBUS_SESSION_BUS_ADDRESS", dbusTestRunner.sessionBus().toStdString().c_str(), true); |