put tests after _setup()

This commit is contained in:
Ivan Pozdeev committed 2026-10-10 13:46:55 +03:00
1 parent 68fbc9f35a
commit d28b750767
1 file changed
+8 -8
+8 -8
View File
@@ -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'