diff --git a/plugins/python-build/test/build.bats b/plugins/python-build/test/build.bats index 466aebcf..f0e3a1b8 100644 --- a/plugins/python-build/test/build.bats +++ b/plugins/python-build/test/build.bats @@ -67,6 +67,10 @@ assert_build_log() { stub_make_install stub_make_install + # yyuu/pyenv#257 + stub uname '-s : echo Linux' + stub uname '-s : echo Linux' + install_fixture definitions/needs-yaml assert_success @@ -93,6 +97,10 @@ OUT stub_make_install stub patch ' : echo patch "$@" | sed -E "s/\.[[:alnum:]]+$/.XXX/" >> build.log' + # yyuu/pyenv#257 + stub uname '-s : echo Linux' + stub uname '-s : echo Linux' + TMPDIR="$TMP" install_fixture --patch definitions/needs-yaml <<<"" assert_success @@ -121,6 +129,10 @@ OUT stub_make_install stub patch ' : echo patch "$@" | sed -E "s/\.[[:alnum:]]+$/.XXX/" >> build.log' + # yyuu/pyenv#257 + stub uname '-s : echo Linux' + stub uname '-s : echo Linux' + TMPDIR="$TMP" install_fixture --patch definitions/needs-yaml <<<"diff --git a/script.py" assert_success @@ -149,6 +161,10 @@ OUT stub brew "--prefix libyaml : echo '$brew_libdir'" false stub_make_install + # yyuu/pyenv#257 + stub uname '-s : echo Linux' + stub uname '-s : echo Linux' + install_fixture definitions/needs-yaml assert_success @@ -172,6 +188,10 @@ OUT stub brew "--prefix readline : echo '$readline_libdir'" stub_make_install + # yyuu/pyenv#257 + stub uname '-s : echo Linux' + stub uname '-s : echo Linux' + run_inline_definition <> build.log' stub_make_install + # yyuu/pyenv#257 + stub uname '-s : echo Linux' + stub uname '-s : echo Linux' + export PYTHON_CONFIGURE="${TMP}/custom-configure" run_inline_definition <> build.log" \ " : echo \"$MAKE \$@\" >> build.log && cat build.log >> '$INSTALL_ROOT/build.log'" + # yyuu/pyenv#257 + stub uname '-s : echo Linux' + stub uname '-s : echo Linux' + PYTHON_MAKE_INSTALL_TARGET="altinstall" TMPDIR="$TMP" install_tmp_fixture definitions/vanilla-python < /dev/null assert_success