diff options
author | Vicent Marti <tanoku@gmail.com> | 2016-05-24 11:39:52 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-06-06 15:39:05 -0700 |
commit | 0eafc0af940646ab581e47e63090c1692a3525aa (patch) | |
tree | 82f5e00e330278b53cfc2c7e34a90395899f0b75 /test/CMakeLists.txt | |
parent | b2107ae4f05d7fe4388d37025105005592d32ef7 (diff) |
test: Add tests for memory exhaustion
Diffstat (limited to 'test/CMakeLists.txt')
-rwxr-xr-x | test/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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" ) |