summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-29 22:26:23 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-29 22:26:23 -0800
commitdee580425077fd177f49cddf64a157af032fbb3f (patch)
treef40caf0009b92d1052a67fc10a1d1b2656e1e79e /Makefile
parent7c9d5f9db14da9aa8fee313d4e6e933b7ea3d109 (diff)
Fixed leakcheck for python3.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3468280..e0679e5 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ testziparchive: $(ZIPARCHIVE)
mkdir build && cd build && cmake .. && make && ctest -V
$(ALLTESTS): spec.txt
- python3 test/spec_tests.py --spec $< --dump-tests | python3 -c 'import json; import sys; tests = json.loads(sys.stdin.read()); print "\n".join([test["markdown"] for test in tests]).encode("utf-8")' > $@
+ python3 test/spec_tests.py --spec $< --dump-tests | python3 -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