diff --git a/plugins/python-build/test/build.bats b/plugins/python-build/test/build.bats index c63367ce..5cab04b1 100644 --- a/plugins/python-build/test/build.bats +++ b/plugins/python-build/test/build.bats @@ -392,3 +392,37 @@ OUT run python-build "${TMP}/build-definition" "$INSTALL_ROOT" assert_failure "python-build: TMPDIR=$TMPDIR is set to a non-accessible location" } + +@test "setting MACOSX_DEPLOYMENT_TARGET from the product version of OS X" { + stub uname '-s : echo Darwin' + stub sw_vers '-productVersion : echo 10.9.4' + + run_inline_definition < "$INSTALL_ROOT/build.log" +DEF + assert_success + + assert_build_log < "$INSTALL_ROOT/build.log" +DEF + assert_success + + assert_build_log <