[Lxml-checkins] r38998 - lxml/trunk
scoder at codespeak.net
scoder at codespeak.net
Fri Feb 16 10:55:10 CET 2007
Author: scoder
Date: Fri Feb 16 10:55:09 2007
New Revision: 38998
Modified:
lxml/trunk/Makefile
Log:
target 'valtest' to run tests in valgrind
Modified: lxml/trunk/Makefile
==============================================================================
--- lxml/trunk/Makefile (original)
+++ lxml/trunk/Makefile Fri Feb 16 10:55:09 2007
@@ -20,6 +20,10 @@
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 @@
# XXX What should the default be?
test: test_inplace
+valtest: valgrind_test_inplace
+
bench: bench_inplace
ftest: ftest_inplace
More information about the lxml-checkins
mailing list