mirror of
https://github.com/apisnetworks/pyenv.git
synced 2026-11-30 19:59:01 +00:00
put tests after _setup()
This commit is contained in:
1 parent
68fbc9f35a
commit
d28b750767
1 file changed
+8
-8
@@ -2,6 +2,14 @@
|
||||
|
||||
load test_helper
|
||||
|
||||
_setup() {
|
||||
export MAKE=make
|
||||
export MAKE_OPTS='-j 2'
|
||||
export -n CFLAGS
|
||||
export -n CC
|
||||
export -n PYTHON_CONFIGURE_OPTS
|
||||
}
|
||||
|
||||
@test "Xcode SDK zlib honors SDKROOT and preserves compiler flags" {
|
||||
export SDKROOT="${BATS_TEST_TMPDIR}/selected-sdk"
|
||||
mkdir -p "$SDKROOT"
|
||||
@@ -48,14 +56,6 @@ OUT
|
||||
unstub xcrun
|
||||
}
|
||||
|
||||
_setup() {
|
||||
export MAKE=make
|
||||
export MAKE_OPTS='-j 2'
|
||||
export -n CFLAGS
|
||||
export -n CC
|
||||
export -n PYTHON_CONFIGURE_OPTS
|
||||
}
|
||||
|
||||
@test "require_gcc on OS X 10.9" {
|
||||
|
||||
stub uname '-s : echo Darwin'
|
||||
|
||||
Reference in new issue
Block a user