mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
docker_run_tests: fix failed build exiting prematurely
My bad; the "set +e" is only active inside the subshell. The outer shell uses "set -e", which means that it will exit upon seeing the subshell fail.
This commit is contained in:
@@ -15,8 +15,10 @@ then
|
||||
bash -i
|
||||
fi
|
||||
|
||||
(set +e; ninja && ninja fish_run_tests)
|
||||
set +e
|
||||
ninja && ninja fish_run_tests
|
||||
RES=$?
|
||||
set -e
|
||||
|
||||
# Drop the user into a shell if FISH_RUN_SHELL_AFTER_TESTS is set.
|
||||
if test -n "$FISH_RUN_SHELL_AFTER_TESTS"; then
|
||||
|
||||
Reference in New Issue
Block a user