From 0c33a585791cf09e56240e7bb7cca21866e8885c Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 18 Oct 2019 11:45:48 +0100 Subject: [PATCH] failing test breaks out of subshell --- cibuildwheel/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 7a7de88a..453bcde9 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -112,9 +112,9 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef # Run the tests from a different directory pushd $HOME sh -c {test_command} - test_retcode=$(( $test_retcode || $? )) popd ) + test_retcode=$(( $test_retcode || $? )) # clean up rm -rf "$venv_dir"