Unset PYTHON_CFLAGS and PYTHON_CONFIGURE_OPTS for build tests

This commit is contained in:
Daniel Hahler 2014-12-11 17:47:25 +01:00
parent d320d74a07
commit 96d3bd6379

View file

@ -1,5 +1,9 @@
.PHONY: test
# Do not pass in user flags to build tests.
unexport PYTHON_CFLAGS
unexport PYTHON_CONFIGURE_OPTS
test: bats
PATH="./bats/bin:$$PATH" test/run
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test