summaryrefslogtreecommitdiff
path: root/test/name-test/CMakeLists.txt
blob: 32f060a2bdb217738e5330c9c646dc4dbc26b69e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if(DBUS_ENABLE_EMBEDDED_TESTS)

add_definitions(${DBUS_INTERNAL_CLIENT_DEFINITIONS})

add_helper_executable(test-autolaunch test-autolaunch.c dbus-testutils)
add_helper_executable(test-privserver-client test-privserver-client.c dbus-testutils)

add_session_test_executable(test-ids test-ids.c ${DBUS_INTERNAL_LIBRARIES})
if (ENABLE_TRADITIONAL_ACTIVATION)
    add_session_test_executable(test-pending-call-dispatch test-pending-call-dispatch.c ${DBUS_INTERNAL_LIBRARIES})
    add_session_test_executable(test-pending-call-timeout test-pending-call-timeout.c ${DBUS_INTERNAL_LIBRARIES})
endif()
add_session_test_executable(test-shutdown test-shutdown.c dbus-testutils)
if (ENABLE_TRADITIONAL_ACTIVATION)
   add_session_test_executable(test-thread-init test-threads-init.c ${DBUS_INTERNAL_LIBRARIES})
endif()
endif()