From 055a7602d2822c962f6ca03d9fdcce35ea3959d8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 27 Nov 2014 13:07:52 -0800 Subject: Changed more runtests -> spec_tests. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3