]> git.lizzy.rs Git - rust.git/commitdiff
Attempt to debug 259 exit code on AppVeyor
authorAlex Crichton <alex@alexcrichton.com>
Tue, 29 Jan 2019 15:45:54 +0000 (07:45 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 29 Jan 2019 15:45:54 +0000 (07:45 -0800)
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

index b0e1b1651055f6b7788d7c107c76f385d780e585..13c7604e5c3a1e634a2a3decbafefadd625649f9 100755 (executable)
@@ -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"