From 87c6607602e969d94ed8b8f97bb45f416e37b22d Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 8 May 2025 22:00:54 +0200 Subject: core/tests: improve turn_order tests --- core/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core/CMakeLists.txt') diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 5ec88e4..b52519f 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -65,4 +65,12 @@ target_link_options("core-tests" PRIVATE "$<$,$>:--coverage>" ) +file(GLOB_RECURSE TEST_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/tests" CONFIGURE_DEPENDS "*.trns") + +target_add_glib_resources("core-tests" + PREFIX "/ch/arknet/Turns/core-tests/" + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/tests" + CSS_FILES ${TEST_FILES} +) + catch_discover_tests("core-tests") \ No newline at end of file -- cgit v1.2.3