From 96d3bd637977ac23c5527503dd664e616cd1cec6 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 11 Dec 2014 17:47:25 +0100 Subject: [PATCH] Unset PYTHON_CFLAGS and PYTHON_CONFIGURE_OPTS for build tests --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 8bc472eb..44488f9b 100644 --- a/Makefile +++ b/Makefile @@ -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