summaryrefslogtreecommitdiff
path: root/source/test
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-19 17:27:54 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-19 17:27:54 +0400
commitd9e91f73e5760fc6ee115ac2947e1ef999f6bef5 (patch)
tree4725373a9ff29b21d0a8a87b318be660bbb7fe28 /source/test
parent4446ccd921d2cfbf4e9bb57ed60ba5564ea00609 (diff)
downloadkit-d9e91f73e5760fc6ee115ac2947e1ef999f6bef5.zip
Enable tests
Diffstat (limited to 'source/test')
-rw-r--r--source/test/programs/CMakeLists.txt54
1 files changed, 27 insertions, 27 deletions
diff --git a/source/test/programs/CMakeLists.txt b/source/test/programs/CMakeLists.txt
index 7decb0d..22e50de 100644
--- a/source/test/programs/CMakeLists.txt
+++ b/source/test/programs/CMakeLists.txt
@@ -1,33 +1,33 @@
if(KIT_ENABLE_TESTING)
- #add_executable(too_many_tests too_many_tests.c)
- #target_link_libraries(too_many_tests ${KIT_TEST_LIBRARY})
- #add_test(
- # NAME too_many_tests_test
- # COMMAND too_many_tests --quiet)
- #set_tests_properties(
- # too_many_tests_test
- # PROPERTIES
- # TIMEOUT "15")
+ add_executable(too_many_tests too_many_tests.c)
+ target_link_libraries(too_many_tests ${KIT_TEST_LIBRARY})
+ add_test(
+ NAME too_many_tests_test
+ COMMAND too_many_tests --quiet)
+ set_tests_properties(
+ too_many_tests_test
+ PROPERTIES
+ TIMEOUT "15")
- #add_executable(too_many_assertions too_many_assertions.c)
- #target_link_libraries(too_many_assertions ${KIT_TEST_LIBRARY})
- #add_test(
- # NAME too_many_assertions_test
- # COMMAND too_many_assertions --quiet)
- #set_tests_properties(
- # too_many_assertions_test
- # PROPERTIES
- # TIMEOUT "15")
+ add_executable(too_many_assertions too_many_assertions.c)
+ target_link_libraries(too_many_assertions ${KIT_TEST_LIBRARY})
+ add_test(
+ NAME too_many_assertions_test
+ COMMAND too_many_assertions --quiet)
+ set_tests_properties(
+ too_many_assertions_test
+ PROPERTIES
+ TIMEOUT "15")
- #add_executable(cpp_example cpp_example.cpp)
- #target_link_libraries(cpp_example ${KIT_TEST_LIBRARY})
- #add_test(
- # NAME cpp_example_test
- # COMMAND cpp_example --quiet)
- #set_tests_properties(
- # cpp_example_test
- # PROPERTIES
- # TIMEOUT "15")
+ add_executable(cpp_example cpp_example.cpp)
+ target_link_libraries(cpp_example ${KIT_TEST_LIBRARY})
+ add_test(
+ NAME cpp_example_test
+ COMMAND cpp_example --quiet)
+ set_tests_properties(
+ cpp_example_test
+ PROPERTIES
+ TIMEOUT "15")
add_executable(signals signals.cpp)
target_link_libraries(signals ${KIT_TEST_LIBRARY})