Skip to content

Commit

Permalink
Makefile: add rule for testing wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshvarma committed Apr 28, 2020
1 parent d87de6b commit 07e4e2f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,17 @@ wheel:
$(PYTHON) setup.py $(SETUPFLAGS) bdist_wheel $(PYTHON_WITH_CYTHON)

test_inplace: inplace
$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS) $(CYTHON_WITH_COVERAGE)
$(PYTHON) runtests.py $(TESTFLAGS) $(TESTOPTS) $(CYTHON_WITH_COVERAGE)

test_inplace2: inplace2
$(PYTHON2) test.py $(TESTFLAGS) $(TESTOPTS) $(CYTHON2_WITH_COVERAGE)
$(PYTHON2) runtests.py $(TESTFLAGS) $(TESTOPTS) $(CYTHON2_WITH_COVERAGE)

ftest_inplace: inplace
$(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
$(PYTHON) runtests.py -f $(TESTFLAGS) $(TESTOPTS)

test_wheel: wheel
pip install -U dist/*.whl
$(PYTHON) runtests.py $(TESTFLAGS) $(TESTOPTS)

valgrind_test_inplace: inplace
# Don't know why but supression file is not supressing any python malloc errors
Expand All @@ -64,6 +68,8 @@ test: test_inplace

test2: test_inplace2

testw: test_wheel

valtest: valgrind_test_inplace

ftest: ftest_inplace
Expand Down

0 comments on commit 07e4e2f

Please sign in to comment.