From ce279a8e53a315622d5b6b4f3332692b903c6655 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 29 Jan 2019 07:45:54 -0800 Subject: Attempt to debug 259 exit code on AppVeyor Let's try to dig in a bit more and see where this is coming from, it looks like AppVeyor is also unsure where this is coming from! --- src/ci/run.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ci') diff --git a/src/ci/run.sh b/src/ci/run.sh index b0e1b165105..13c7604e5c3 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -121,7 +121,14 @@ fi travis_fold end log-system-info if [ ! -z "$SCRIPT" ]; then + # This `set +e` followed by capturing the return value is a temporary measure + # to help debug "error with exit 259" on AppVeyor temporarily, otherwise all + # that's needed here is the `sh` + set +e sh -x -c "$SCRIPT" + ret=$? + echo "script exited with $ret" + exit $ret else do_make() { travis_fold start "make-$1" -- cgit 1.4.1-3-g733a5