From 8a53ee9b579fef9a75bd25f881827f28739a1f68 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 2 Jun 2016 10:43:47 -0700 Subject: Added new roundtrip_tests.py. This replaces the old use of simple shell scripts. It is much faster, and more flexible. (We will be able to do custom normalization and skip certain tests.) --- test/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 09af8a4..dd850b6 100755 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -48,9 +48,10 @@ IF (PYTHONINTERP_FOUND) add_test(roundtriptest_executable ${PYTHON_EXECUTABLE} - "${CMAKE_CURRENT_SOURCE_DIR}/spec_tests.py" "--no-normalize" - "--spec" "${CMAKE_CURRENT_SOURCE_DIR}/spec.txt" "--program" - "${ROUNDTRIP} ${CMAKE_CURRENT_BINARY_DIR}/../src/cmark" + "${CMAKE_CURRENT_SOURCE_DIR}/roundtrip_tests.py" + "--spec" "${CMAKE_CURRENT_SOURCE_DIR}/spec.txt" + "--no-normalize" + "--library-dir" "${CMAKE_CURRENT_BINARY_DIR}/../src" ) add_test(regressiontest_executable -- cgit v1.2.3