Permalink
Browse files

[svn r2105] target 'valtest' to run tests in valgrind

--HG--
branch : trunk
  • Loading branch information...
1 parent cfdd0fa commit c36711d68f85acdd1c8f1e7bb4fb0d2eb13183a9 scoder committed Feb 16, 2007
Showing with 6 additions and 0 deletions.
  1. +6 −0 Makefile
View
@@ -20,6 +20,10 @@ test_inplace: inplace
PYTHONPATH=src $(PYTHON) selftest.py
PYTHONPATH=src $(PYTHON) selftest2.py
+valgrind_test_inplace: inplace
+ valgrind --tool=memcheck --leak-check=full --suppressions=valgrind-python.supp \
+ $(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
+
bench_inplace: inplace
$(PYTHON) bench.py -i
@@ -36,6 +40,8 @@ html:
# XXX What should the default be?
test: test_inplace
+valtest: valgrind_test_inplace
+
bench: bench_inplace
ftest: ftest_inplace

0 comments on commit c36711d

Please sign in to comment.