diff options
author | Simon McVittie <smcv@collabora.com> | 2018-11-15 15:48:26 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2019-01-21 15:20:04 +0000 |
commit | 24a1f3406ab709928baabbc19007880cfbca0d7c (patch) | |
tree | 8bf115b17ba86cd3ee8aa08277ff9a759bad0a4c /cmake | |
parent | b7f11c17d15fabebf216445be58afd0e321fc1b9 (diff) | |
download | dbus-24a1f3406ab709928baabbc19007880cfbca0d7c.tar.gz |
test: Split slow parts of the former test-dbus into their own executables
This makes it easier for a developer to run just the fast parts while
debugging some issue reproduced by the faster tests.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/test/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/test/CMakeLists.txt b/cmake/test/CMakeLists.txt index d67fe1ec..ff70fc2c 100644 --- a/cmake/test/CMakeLists.txt +++ b/cmake/test/CMakeLists.txt @@ -93,6 +93,15 @@ if(WIN32) endif() if(DBUS_ENABLE_EMBEDDED_TESTS) + add_test_executable(test-hash ${TEST_DIR}/internals/hash.c dbus-testutils) + set_target_properties(test-hash PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) + + add_test_executable(test-marshal-recursive ${TEST_DIR}/internals/marshal-recursive.c dbus-testutils) + set_target_properties(test-marshal-recursive PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) + + add_test_executable(test-message-internals ${TEST_DIR}/internals/message-internals.c dbus-testutils) + set_target_properties(test-message-internals PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) + add_test_executable(test-misc-internals ${TEST_DIR}/internals/misc-internals.c dbus-testutils) set_target_properties(test-misc-internals PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) |