2019-02-18 14:33:58 -05:00
|
|
|
.PHONY: test test-build
|
2014-10-15 20:53:18 -04:00
|
|
|
|
2014-12-11 11:47:25 -05:00
|
|
|
# Do not pass in user flags to build tests.
|
|
|
|
unexport PYTHON_CFLAGS
|
|
|
|
unexport PYTHON_CONFIGURE_OPTS
|
|
|
|
|
2014-12-01 08:50:04 -05:00
|
|
|
test: bats
|
|
|
|
PATH="./bats/bin:$$PATH" test/run
|
|
|
|
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test
|
2014-10-15 20:53:18 -04:00
|
|
|
|
2019-02-18 14:33:58 -05:00
|
|
|
test-build: bats
|
|
|
|
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test/build
|
|
|
|
|
2014-12-01 08:50:04 -05:00
|
|
|
bats:
|
2019-02-18 14:33:58 -05:00
|
|
|
git clone --depth 1 https://github.com/bats-core/bats-core.git bats
|