cmark

My personal build of CMark ✏️

Commit
3e26463989346327589d1dd0d0cb89cb14c84b66
Parent
a8d97a098742413d0ffdc3602d1798df6e4f00a1
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added HTML normalization tests to test/CMakeLists.txt.

Removed from .travis.yml. This should be a standard part of the test suite.

See #245.

Diffstat

2 files changed, 7 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified .travis.yml 4 2 2
Modified test/CMakeLists.txt 5 5 0
diff --git 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
@@ -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"