Age | Commit message (Collapse) | Author |
|
Now you can enable/disable compilation and installation targets for
shared and static libraries via -DCMARK_SHARED=ON/OFF and
-DCMARK_STATIC=ON/OFF
|
|
This reverts commit 9e643720ec903f3b448bd2589a0c02c2514805ae.
|
|
* open_new_blocks: always create child before advancing offset
* Source map
* Extent's typology
* In-depth python bindings
|
|
* Add test to illustrate issue
* Provide some test fixes
* Don't neglect CounterClockwiseContourIntegral
* Fix ~10% of cases not matching
strncmp returns 0 if the first 'len' bytes of cmark_entities[i].entity
match s; we check equal length in the first if by checking if
cmark_entities[i].entity[len] == 0, but we neglect the case where cmp ==
0 && cmark_entities[i].entity[len] != 0. This should be treated as the
same as cmp < 0, because strcmp("abc", "abcd") < 0.
* Don't depend on py3.3 in tests
|
|
|
|
|
|
In the commonmark writer we separate lists, and lists and
indented code, using a dummy HTML comment rather than two
blank lines (this is more portable).
So in evaluating the round-trip tests, we now strip out
these comments.
We also normalize HTML to avoid issues having to do with
line breaks.
|
|
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.)
|
|
Previously they actually ran cmark instead of the round-trip
version, since there was a bug in setting the ROUNDTRIP
variable.
Now round trip tests fail! This was unnoticed before.
See #131.
|
|
- Fix PATH for api_test, see:
https://cmake.org/pipermail/cmake/2009-May/029423.html
- DLL is named libcmark.dll under MinGW.
|
|
I think it's a good idea to add tests after fixing bugs. This is really
easy using the spec test infrastructure.
|
|
|
|
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.
|
|
Currently one test fails.
|
|
|
|
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.
|
|
set_tests_properties must not be called before adding the test.
|
|
|
|
Partially reverts ba8f2c48b700a466a8cf7097d5f72d43372d4c37.
See #251.
|
|
Closes #251.
|
|
Removed from .travis.yml.
This should be a standard part of the test suite.
See #245.
|
|
Added test/CMakeLists.txt.
|