- Commit
- ab68771467427229e629d1d2524e054bd45e859a
- Parent
- 366af1187ad409b2fca12cd7a2b939019727db7d
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Revised README's instructions on tests.
My personal build of CMark ✏️
Revised README's instructions on tests.
1 file changed, 10 insertions, 14 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | README.md | 24 | 10 | 14 |
diff --git a/README.md b/README.md @@ -73,17 +73,6 @@ Or, to create Xcode project files on OSX: make test make install -Tests can also be run manually on any executable `$PROG` using: - - python test/spec_tests.py --program $PROG - -If you want to extract the raw test data from the spec without -actually running the tests, you can do: - - python test/spec_tests.py --dump-tests - -and you'll get all the tests in JSON format. - The GNU Makefile also provides a few other targets for developers. To run a "fuzz test" against ten long randomly generated inputs: @@ -141,9 +130,16 @@ The spec -------- [The spec] contains over 500 embedded examples which serve as conformance -tests. To run the tests for `cmark`, do `make test`. To run them for -another Markdown program, say `myprog`, do `make test PROG=myprog`. To -run the tests for `commonmark.js`, do `make testjs`. +tests. To run the tests using an executable `$PROG`: + + python test/spec_tests.py --program $PROG + +If you want to extract the raw test data from the spec without +actually running the tests, you can do: + + python test/spec_tests.py --dump-tests + +and you'll get all the tests in JSON format. [The spec]: http://jgm.github.io/CommonMark/spec.html