Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[svn r3692] r4250@delle: sbehnel | 2008-05-20 21:57:20 +0200

 make target to run tests from Py3 after building under Py2 (which Cython requires)

--HG--
branch : trunk
  • Loading branch information...
commit 9eae7d03531dc7f7039e0cb17420067b166b946e 1 parent 091c24d
scoder authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 Makefile
View
10 Makefile
@@ -1,4 +1,5 @@
PYTHON?=python
+PYTHON3?=python3.0
TESTFLAGS=-p -v
TESTOPTS=
SETUPFLAGS=
@@ -21,6 +22,13 @@ test_inplace: inplace
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 @@ pdf: apipdf
test: test_inplace
+test3: test_inplace3
+
valtest: valgrind_test_inplace
gdbtest: gdb_test_inplace
Please sign in to comment.
Something went wrong with that request. Please try again.