From 3e26463989346327589d1dd0d0cb89cb14c84b66 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 22 Dec 2014 23:47:38 -0700 Subject: Added HTML normalization tests to test/CMakeLists.txt. Removed from .travis.yml. This should be a standard part of the test suite. See #245. --- .travis.yml | 3 +-- test/CMakeLists.txt | 5 +++++ 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" -- cgit v1.2.3