From ca1593c80eae0b84349ca163699b71b04ea8b9fa Mon Sep 17 00:00:00 2001 From: Anton Petrov Date: Fri, 23 Dec 2022 10:55:13 +0300 Subject: [PATCH] Fix build tests --- plugins/python-build/test/build.bats | 112 +++++++++++------------ plugins/python-build/test/compiler.bats | 6 +- plugins/python-build/test/pyenv_ext.bats | 28 +++--- 3 files changed, 72 insertions(+), 74 deletions(-) diff --git a/plugins/python-build/test/build.bats b/plugins/python-build/test/build.bats index 649af776..f9c9a0a9 100644 --- a/plugins/python-build/test/build.bats +++ b/plugins/python-build/test/build.bats @@ -62,7 +62,7 @@ assert_build_log() { cached_tarball "yaml-0.1.6" cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Linux'; done + for i in {1..10}; do stub uname '-s : echo Linux'; done stub brew false stub_make_install stub_make_install @@ -74,12 +74,12 @@ assert_build_log() { unstub make assert_build_log <>"$tcl_tk_libdir/lib/tclConfig.sh" - for i in {1..9}; do stub uname '-s : echo Darwin'; done + for i in {1..10}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done stub brew false @@ -370,7 +370,7 @@ DEF assert_build_log <> build.log' stub_make_install @@ -681,8 +681,8 @@ DEF assert_build_log <> build.log" \ " : echo \"$MAKE \$@\" >> build.log && cat build.log >> '$INSTALL_ROOT/build.log'" @@ -324,8 +324,8 @@ EOS assert_success assert_build_log <