From: Ralf Habacker Date: Mon, 8 Mar 2010 14:56:56 +0000 (+0100) Subject: fixed bus-test sha1 connection address on unix with cmake build system X-Git-Tag: dbus-1.3.1~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76919f681c65be9eaf8f3641f674c607640cd196;p=thirdparty%2Fdbus.git fixed bus-test sha1 connection address on unix with cmake build system --- diff --git a/cmake/test/CMakeLists.txt b/cmake/test/CMakeLists.txt index ad8dbf823..6a26362c1 100644 --- a/cmake/test/CMakeLists.txt +++ b/cmake/test/CMakeLists.txt @@ -146,7 +146,12 @@ ENDFOREACH(FILE_TYPE) # TODO merge test/data/valid-config-files/debug-allow-all*.conf.in and ....cmake # SET (CONFIG_FILES test/data/valid-config-files) -set (TEST_LISTEN "tcp:host=localhost,port=1234") +if (UNIX) + set (TEST_LISTEN "debug-pipe:name=test-server") +endif (UNIX) +if (WIN32) + set (TEST_LISTEN "tcp:host=localhost,port=1234") +endif (WIN32) configure_file(${CMAKE_SOURCE_DIR}/../${CONFIG_FILES}/debug-allow-all-sha1.conf.cmake ${CMAKE_BINARY_DIR}/${CONFIG_FILES}/debug-allow-all-sha1.conf ) configure_file(${CMAKE_SOURCE_DIR}/../${CONFIG_FILES}/debug-allow-all.conf.cmake ${CMAKE_BINARY_DIR}/${CONFIG_FILES}/debug-allow-all.conf )