From dee580425077fd177f49cddf64a157af032fbb3f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 29 Dec 2014 22:26:23 -0800 Subject: Fixed leakcheck for python3. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3