From 0eafc0af940646ab581e47e63090c1692a3525aa Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Tue, 24 May 2016 11:39:52 +0200 Subject: test: Add tests for memory exhaustion --- test/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 3b23cff..098321b 100755 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -38,6 +38,11 @@ IF (PYTHONINTERP_FOUND) "--library-dir" "${CMAKE_CURRENT_BINARY_DIR}/../src" ) + add_test(exhaustion_tests_executable + ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/exhaustion_tests.py" + "--program" "${CMAKE_CURRENT_BINARY_DIR}/../src/cmark" + ) + add_test(spectest_executable ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/spec_tests.py" "--no-normalize" "--spec" "${CMAKE_CURRENT_SOURCE_DIR}/spec.txt" "--program" "${CMAKE_CURRENT_BINARY_DIR}/../src/cmark" ) -- cgit v1.2.3