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:
Johannes Altmanninger
2025-06-19 13:36:33 +02:00
parent 3c620f56ee
commit a4d355634d

View File

@@ -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