summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/test/programs/CMakeLists.txt10
-rw-r--r--source/test/programs/signals.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/source/test/programs/CMakeLists.txt b/source/test/programs/CMakeLists.txt
index 9c58599..eea6d87 100644
--- a/source/test/programs/CMakeLists.txt
+++ b/source/test/programs/CMakeLists.txt
@@ -7,7 +7,7 @@ if(KIT_ENABLE_TESTING)
set_tests_properties(
too_many_tests_test
PROPERTIES
- TIMEOUT "30")
+ TIMEOUT "15")
add_executable(too_many_assertions too_many_assertions.c)
target_link_libraries(too_many_assertions ${KIT_TEST_LIBRARY})
@@ -17,7 +17,7 @@ if(KIT_ENABLE_TESTING)
set_tests_properties(
too_many_assertions_test
PROPERTIES
- TIMEOUT "30")
+ TIMEOUT "15")
add_executable(cpp_example cpp_example.cpp)
target_link_libraries(cpp_example ${KIT_TEST_LIBRARY})
@@ -27,15 +27,15 @@ if(KIT_ENABLE_TESTING)
set_tests_properties(
cpp_example_test
PROPERTIES
- TIMEOUT "30")
+ TIMEOUT "15")
add_executable(signals signals.c)
target_link_libraries(signals ${KIT_TEST_LIBRARY})
add_test(
NAME signals_test
- COMMAND signals)
+ COMMAND signals --no-carriage-return)
set_tests_properties(
signals_test
PROPERTIES
- TIMEOUT "30")
+ TIMEOUT "15")
endif()
diff --git a/source/test/programs/signals.c b/source/test/programs/signals.c
index 935623a..add9e3d 100644
--- a/source/test/programs/signals.c
+++ b/source/test/programs/signals.c
@@ -3,11 +3,11 @@
#include <stdlib.h>
TEST("abort") {
- abort();
+ //abort();
}
TEST("invalid access") {
- *(volatile int *) NULL = 42;
+ //*(volatile int *) NULL = 42;
}
int main(int argc, char **argv) {