failing test breaks out of subshell
This commit is contained in:
@@ -112,9 +112,9 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef
|
|||||||
# Run the tests from a different directory
|
# Run the tests from a different directory
|
||||||
pushd $HOME
|
pushd $HOME
|
||||||
sh -c {test_command}
|
sh -c {test_command}
|
||||||
test_retcode=$(( $test_retcode || $? ))
|
|
||||||
popd
|
popd
|
||||||
)
|
)
|
||||||
|
test_retcode=$(( $test_retcode || $? ))
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
rm -rf "$venv_dir"
|
rm -rf "$venv_dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user