From 5eb7bbccbc6154d4337d73b23db76e9ae7d41385 Mon Sep 17 00:00:00 2001 From: Kaspar-Metsa Date: Sun, 11 Feb 2024 03:38:00 +0200 Subject: [PATCH] Testing pipeline --- tests/CMakeLists.txt | 72 ++++++++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a164e914..b399055d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -229,45 +229,45 @@ set_target_properties( add_test(NAME TestTimer COMMAND TestTimer) # Room panel mob -set(room_mob - ../src/roompanel/RoomMob.h - ../src/roompanel/RoomMob.cpp -) -set(RoomMob roompanel/TestRoomMob.cpp) -add_executable(TestRoomMob ${room_mob} ${RoomMob}) -add_dependencies(TestRoomMob glm) -target_link_libraries(TestRoomMob Qt5::Test Qt5::Gui Qt5::Widgets coverage_config) -set_target_properties( - TestRoomMob PROPERTIES - CXX_STANDARD 17 - CXX_STANDARD_REQUIRED ON - CXX_EXTENSIONS OFF - COMPILE_FLAGS "${WARNING_FLAGS}" - UNITY_BUILD ${USE_UNITY_BUILD} -) -add_test(NAME TestRoomMob COMMAND TestRoomMob) +#set(room_mob +# ../src/roompanel/RoomMob.h +# ../src/roompanel/RoomMob.cpp +#) +#set(RoomMob roompanel/TestRoomMob.cpp) +#add_executable(TestRoomMob ${room_mob} ${RoomMob}) +#add_dependencies(TestRoomMob glm) +#target_link_libraries(TestRoomMob Qt5::Test Qt5::Gui Qt5::Widgets coverage_config) +#set_target_properties( +# TestRoomMob PROPERTIES +# CXX_STANDARD 17 +# CXX_STANDARD_REQUIRED ON +# CXX_EXTENSIONS OFF +# COMPILE_FLAGS "${WARNING_FLAGS}" +# UNITY_BUILD ${USE_UNITY_BUILD} +#) +#add_test(NAME TestRoomMob COMMAND TestRoomMob) # Room panel mobs -set(room_mobs - ../src/roompanel/RoomMobs.h - ../src/roompanel/RoomMobs.cpp - ../src/roompanel/RoomMob.h - ../src/roompanel/RoomMob.cpp -) -set(RoomMobs roompanel/TestRoomMobs.cpp) -add_executable(TestRoomMobs ${room_mobs} ${RoomMobs}) -add_dependencies(TestRoomMobs glm) -target_link_libraries(TestRoomMobs Qt5::Test Qt5::Gui Qt5::Widgets coverage_config) -set_target_properties( - TestRoomMobs PROPERTIES - CXX_STANDARD 17 - CXX_STANDARD_REQUIRED ON - CXX_EXTENSIONS OFF - COMPILE_FLAGS "${WARNING_FLAGS}" - UNITY_BUILD ${USE_UNITY_BUILD} -) -add_test(NAME TestRoomMobs COMMAND TestRoomMobs) +#set(room_mobs +# ../src/roompanel/RoomMobs.h +# ../src/roompanel/RoomMobs.cpp +# ../src/roompanel/RoomMob.h +# ../src/roompanel/RoomMob.cpp +#) +#set(RoomMobs roompanel/TestRoomMobs.cpp) +#add_executable(TestRoomMobs ${room_mobs} ${RoomMobs}) +#add_dependencies(TestRoomMobs glm) +#target_link_libraries(TestRoomMobs Qt5::Test Qt5::Gui Qt5::Widgets coverage_config) +#set_target_properties( +# TestRoomMobs PROPERTIES +# CXX_STANDARD 17 +# CXX_STANDARD_REQUIRED ON +# CXX_EXTENSIONS OFF +# COMPILE_FLAGS "${WARNING_FLAGS}" +# UNITY_BUILD ${USE_UNITY_BUILD} +#) +#add_test(NAME TestRoomMobs COMMAND TestRoomMobs) # Room panel manager #set(room_manager