Skip to content

Commit

Permalink
[svn r3692] r4250@delle: sbehnel | 2008-05-20 21:57:20 +0200
Browse files Browse the repository at this point in the history
 make target to run tests from Py3 after building under Py2 (which Cython requires)

--HG--
branch : trunk
  • Loading branch information
scoder committed May 21, 2008
1 parent 091c24d commit 9eae7d0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
PYTHON?=python
PYTHON3?=python3.0
TESTFLAGS=-p -v
TESTOPTS=
SETUPFLAGS=
Expand All @@ -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
Expand Down Expand Up @@ -77,6 +85,8 @@ pdf: apipdf

test: test_inplace

test3: test_inplace3

valtest: valgrind_test_inplace

gdbtest: gdb_test_inplace
Expand Down

0 comments on commit 9eae7d0

Please sign in to comment.