summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-27 13:07:52 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-27 13:07:52 -0800
commit055a7602d2822c962f6ca03d9fdcce35ea3959d8 (patch)
treed8bdb94ff8415a4f6ddbf1d5d322d98ddbc5e44f /Makefile
parent3f7bdb1382cd3632cf813e165c4143bc8f7961d6 (diff)
Changed more runtests -> spec_tests.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 60694e9..2328db1 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ archive: spec.html $(BUILDDIR)
perl -ne '$$p++ if /^### JavaScript/; print if (!$$p)' Makefile > $(PKGDIR)/Makefile; \
cp -a Makefile.nmake nmake.bat $(PKGDIR); \
cp -a man/man1/cmark.1 $(PKGDIR)/man/man1/; \
- cp -a README.md LICENSE spec.txt runtests.py $(PKGDIR)/; \
+ cp -a README.md LICENSE spec.txt spec_tests.py $(PKGDIR)/; \
tar czf $(TARBALL) $(PKGDIR); \
zip -q -r $(ZIPARCHIVE) $(PKGDIR); \
rm -rf $(PKGDIR) ; \
@@ -108,7 +108,7 @@ testziparchive: $(ZIPARCHIVE)
mkdir build && cd build && cmake .. && make && ctest -V
$(ALLTESTS): spec.txt
- python runtests.py --spec $< --dump-tests | python -c 'import json; import sys; tests = json.loads(sys.stdin.read()); print "\n".join([test["markdown"] for test in tests]).encode("utf-8")' > $@
+ python spec_tests.py --spec $< --dump-tests | python -c 'import json; import sys; tests = json.loads(sys.stdin.read()); print "\n".join([test["markdown"] for test in tests]).encode("utf-8")' > $@
leakcheck: $(ALLTESTS) $(PROG)
cat $< | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG) >/dev/null