aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-18 17:09:33 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-18 17:09:33 -0800
commit1ce9c8a9a4fd274beeac26ab506ce508745c47ab (patch)
tree6379703a789c3050abe7867118efbbd41638a90f
parent0e934adc54af7bc19dfa6b779c1534dff2dcf64b (diff)
make test: Use cmake to run tests. So we get api tests too.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c24ec1e..9af8e50 100644
--- a/Makefile
+++ b/Makefile
@@ -83,8 +83,8 @@ $(SRCDIR)/case_fold_switch.inc: $(DATADIR)/CaseFolding-3.2.0.txt
man/man1/cmark.1: man/cmark.1.md
pandoc $< -o $@ -s -t man
-test: $(SPEC)
- perl runtests.pl $< $(PROG)
+test: $(SPEC) $(BUILDDIR)
+ make -C $(BUILDDIR) test ARGS="-V"
testlib: $(SPEC)
perl runtests.pl $< ./wrapper.py