From a4d355634d757b805f1775f8cb9cd5f502b7059d Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Thu, 19 Jun 2025 13:36:33 +0200 Subject: [PATCH] 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. --- docker/context/fish_run_tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/context/fish_run_tests.sh b/docker/context/fish_run_tests.sh index 75697d566..1c70a219c 100755 --- a/docker/context/fish_run_tests.sh +++ b/docker/context/fish_run_tests.sh @@ -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