[Lxml-checkins] r55085 - lxml/trunk
scoder at codespeak.net
scoder at codespeak.net
Wed May 21 21:45:34 CEST 2008
Author: scoder
Date: Wed May 21 21:45:33 2008
New Revision: 55085
Modified:
lxml/trunk/ (props changed)
lxml/trunk/Makefile
Log:
r4250 at delle: sbehnel | 2008-05-20 21:57:20 +0200
make target to run tests from Py3 after building under Py2 (which Cython requires)
Modified: lxml/trunk/Makefile
==============================================================================
--- lxml/trunk/Makefile (original)
+++ lxml/trunk/Makefile Wed May 21 21:45:33 2008
@@ -1,4 +1,5 @@
PYTHON?=python
+PYTHON3?=python3.0
TESTFLAGS=-p -v
TESTOPTS=
SETUPFLAGS=
@@ -21,6 +22,13 @@
PYTHONPATH=src $(PYTHON) selftest.py
PYTHONPATH=src $(PYTHON) selftest2.py
+test_inplace3: inplace
+ $(MAKE) clean
+ $(PYTHON3) setup.py $(SETUPFLAGS) build_ext -i
+ $(PYTHON3) test.py $(TESTFLAGS) $(TESTOPTS)
+ PYTHONPATH=src $(PYTHON3) selftest.py
+ PYTHONPATH=src $(PYTHON3) selftest2.py
+
valgrind_test_inplace: inplace
valgrind --tool=memcheck --leak-check=full --num-callers=30 --suppressions=valgrind-python.supp \
$(PYTHON) test.py
@@ -77,6 +85,8 @@
test: test_inplace
+test3: test_inplace3
+
valtest: valgrind_test_inplace
gdbtest: gdb_test_inplace
More information about the lxml-checkins
mailing list