Fix bus-test failure with cmake on unix.

SHA1 connection tests needs an non debug-pipe transport for the activation bus.
This commit is contained in:
Ralf Habacker 2010-04-11 11:46:04 +02:00
parent f1b9aac417
commit 1d2f5607b4

View file

@ -477,8 +477,8 @@ if (DBUS_BUILD_TESTS)
set(TEST_LAUNCH_HELPER_BINARY ${EXECUTABLE_OUTPUT_PATH}/dbus-daemon-launch-helper-test)
set(TEST_PRIVSERVER_BINARY ${EXECUTABLE_OUTPUT_PATH}/test-privserver)
if (UNIX)
set (TEST_LISTEN "debug-pipe:name=test-server")
set (TEST_CONNECTION "${TEST_LISTEN}")
set (TEST_LISTEN "debug-pipe:name=test-server</listen><listen>unix:tmpdir=${TEST_SOCKET_DIR}")
set (TEST_CONNECTION "debug-pipe:name=test-server")
endif (UNIX)
if (WIN32)
set (TEST_LISTEN "tcp:host=localhost,port=12436")