]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
change test direct run
authorBastian Dehn <hhaalo@arcor.de>
Sat, 11 Oct 2025 17:05:19 +0000 (19:05 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 11 Oct 2025 17:05:19 +0000 (19:05 +0200)
tests/CMakeLists.txt

index 77f6315a5697f61018d080aabe3573a36328e9c2..5179edc4f6b19f197696a58afcc04de59f6393dd 100644 (file)
@@ -23,14 +23,10 @@ ADD_EXECUTABLE(time_format_tests
 TARGET_LINK_LIBRARIES(time_format_tests
        ${CMOCKA})
 
-INCLUDE(CTest)
-ADD_TEST(NAME break_tests
-       COMMAND break_tests)
-ADD_TEST(NAME worktime_tests
-       COMMAND worktime_tests)
-ADD_TEST(NAME time_format_tests
-       COMMAND time_format_tests)      
-
-ADD_CUSTOM_TARGET(run-tests
-       ALL "ctest" "--verbose"
-       DEPENDS time_format_tests worktime_tests break_tests)
\ No newline at end of file
+ADD_CUSTOM_TARGET(run_tests
+       ALL ./break_tests
+       COMMAND ./worktime_tests
+       COMMAND ./time_format_tests
+       DEPENDS break_tests
+       worktime_tests
+       time_format_tests)
\ No newline at end of file