about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/ci/run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index 42d0d7db596..0f2517c7d1f 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"