summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-25 16:43:36 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-25 16:43:36 -0700
commit2455209cb0051f562bb8d9525951ac902320afeb (patch)
treeb673e039e764b19baeaf5b28a44821c5f1d93c7f
parent72a556fd3bd17feaffba2fb6faa8c8f2a3931643 (diff)
Makefile: specify python2 in places where it's needed.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6723f2e..402120e 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ testziparchive: $(ZIPARCHIVE)
mkdir build && cd build && cmake .. && make && ctest -V
$(ALLTESTS): spec.txt
- python test/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")' > $@
+ python2 test/spec_tests.py --spec $< --dump-tests | python2 -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)
cat $< | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG) >/dev/null