failing test breaks out of subshell

This commit is contained in:
Gertjan van den Burg
2019-10-18 11:45:48 +01:00
parent 3842cfd853
commit 0c33a58579
+1 -1
View File
@@ -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"