Commit 19a59f42 authored by Mislav Marohnić's avatar Mislav Marohnić
Browse files

Ignore RUBY_CONFIGURE_OPTS from environment in testing

Avoids failures caused by somebody's environment possibly having
RUBY_CONFIGURE_OPTS exported to have a value.
parent 553572cc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ export RUBY_BUILD_CACHE_PATH="$TMP/cache"
export MAKE=make
export MAKE_OPTS="-j 2"
export CC=cc
export -n RUBY_CONFIGURE_OPTS

setup() {
  mkdir -p "$INSTALL_ROOT"
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ export MAKE=make
export MAKE_OPTS='-j 2'
export -n CFLAGS
export -n CC
export -n RUBY_CONFIGURE_OPTS

@test "require_gcc on OS X 10.9" {
  stub uname '-s : echo Darwin'