summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
-rw-r--r--test/CMakeLists.txt5
2 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 0446bad..8a504fa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,5 +7,4 @@ before_install:
- sudo apt-get install -qq pandoc re2c valgrind
script:
- make testtarball
- - PROG=`ls cmark-*.*/build/src/cmark` make leakcheck
- - python -m doctest test/normalize.py
+ - PROG=`ls cmark-*.*/build/src/cmark` make leakcheck \ No newline at end of file
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 6761317..1032f17 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -7,6 +7,11 @@ if (WIN32)
)
endif(WIN32)
+add_test(html_normalization
+ python "-m" "doctest"
+ "${CMAKE_CURRENT_SOURCE_DIR}/normalize.py"
+)
+
add_test(spectest_library
python "${CMAKE_CURRENT_SOURCE_DIR}/spec_tests.py" "--no-normalize" "--spec"
"${CMAKE_SOURCE_DIR}/spec.txt" "--library-dir" "${CMAKE_BINARY_DIR}/src"