Merge pull request #289 from blueyed/unset-PYTHON_CFLAGS-in-tests

Unset PYTHON_CFLAGS for build tests
This commit is contained in:
Yamashita, Yuu 2014-12-12 10:02:10 +09:00
commit 5114600c4d

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