summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
AgeCommit message (Collapse)Author
2016-05-17Fix tests under MinGWNick Wellnhofer
- Fix PATH for api_test, see: https://cmake.org/pipermail/cmake/2009-May/029423.html - DLL is named libcmark.dll under MinGW.
2016-03-28Add first regression testsNick Wellnhofer
I think it's a good idea to add tests after fixing bugs. This is really easy using the spec test infrastructure.
2015-12-20Made roundtrip test part of the test suite run by cmake.John MacFarlane
2015-08-10Fix FileNotFoundError errors on tests when cmark is built from another ↵Kevin Wojniak
project via add_subdirectory() CMAKE_SOURCE_DIR will refer to the top-level source directory, not cmark, so CMAKE_CURRENT_SOURCE_DIR must be used. Also the same for CMAKE_BINARY_DIR. Ideally it should be using the TARGET_FILE CMake generator to get a target's location instead of hard coding the path, but that requires CMake 3.0 or greater.
2015-02-14Added test for --smart option.John MacFarlane
Currently one test fails.
2015-01-24Moved spec.txt to test/ directory.John MacFarlane
2015-01-11Run the spec tests only if python3 is found.John MacFarlane
Otherwise skip them, running a dummy test skipping_spec_tests to signal that they are being skipped. To require the spec tests, do `cmake .. -DSPEC_TESTS=1`. Closes #278. Although I still have some qualms about tests that can appear to pass while being incomplete, I see the advantages of allowing the package to build without python3.
2014-12-31Fix API test on WindowsNick Wellnhofer
set_tests_properties must not be called before adding the test.
2014-12-29Updated tests to use python3.John MacFarlane
2014-12-26Use python, not python2, as name of python interpreter.John MacFarlane
Partially reverts ba8f2c48b700a466a8cf7097d5f72d43372d4c37. See #251.
2014-12-24Use python2 for man, test scripts.John MacFarlane
Closes #251.
2014-12-22Added HTML normalization tests to test/CMakeLists.txt.John MacFarlane
Removed from .travis.yml. This should be a standard part of the test suite. See #245.
2014-11-29Moved testing programs to test/.John MacFarlane
Added test/CMakeLists.txt.