summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt15
1 files changed, 0 insertions, 15 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9631df4..3466f60 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,7 +72,6 @@ add_custom_command(
add_executable(aplwc-repl
src/bin/main.c
src/bin/util.c
- src/bin/wrappers.c
)
target_link_libraries(aplwc-repl PRIVATE common aplwc)
@@ -150,17 +149,3 @@ foreach(script ${TEST_SCRIPTS_BAD})
endforeach()
add_test(NAME "aplwc-repl" COMMAND "aplwc-repl" "-x")
-
-set(REQUIRED_MALLOCS 3)
-foreach(i RANGE 0 ${REQUIRED_MALLOCS})
- set(name "aplwc-repl-${i}-${REQUIRED_MALLOCS}")
- add_test(NAME "${name}" COMMAND "aplwc-repl" "-x")
- set_tests_properties("${name}" PROPERTIES
- ENVIRONMENT "APLWC_MALLOC_FAIL_AFTER=${i}"
- )
- if(NOT i EQUAL ${REQUIRED_MALLOCS} AND NOT CMAKE_BUILD_TYPE STREQUAL "Release")
- set_tests_properties("${name}" PROPERTIES
- WILL_FAIL TRUE
- )
- endif()
-endforeach()