3 set (NAMEtest-DIR ../../../test/name-test)
5 add_definitions(-DDBUS_COMPILATION)
7 # there is also a test-names executable, don't know if this is the same
8 add_executable(test-names2 ${NAMEtest-DIR}/test-names.c)
9 target_link_libraries(test-names2 ${DBUS_LIBRARIES})
10 ADD_TEST(test-names2 ${EXECUTABLE_OUTPUT_PATH}/test-names2)
12 add_executable(test-pending-call-dispatch ${NAMEtest-DIR}/test-pending-call-dispatch.c)
13 target_link_libraries(test-pending-call-dispatch ${DBUS_LIBRARIES})
14 ADD_TEST(test-pending-call-dispatch ${EXECUTABLE_OUTPUT_PATH}/test-pending-call-dispatch)
16 add_executable(test-thread-init ${NAMEtest-DIR}/test-threads-init.c)
17 target_link_libraries(test-thread-init ${DBUS_LIBRARIES})
18 ADD_TEST(test-thread-init ${EXECUTABLE_OUTPUT_PATH}/test-thread-init)
20 endif (DBUS_BUILD_TESTS)