diff options
| author | bors <bors@rust-lang.org> | 2019-01-30 03:44:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-01-30 03:44:11 +0000 |
| commit | d3d0bf0e9f4d748b95ed143cc636d159bfcb4a6f (patch) | |
| tree | 9252e6a17797fe557d16383d5d61f5026d38ceed /src/ci | |
| parent | 40e6a0bd766ca7b1c582b964131400b8c3e89d76 (diff) | |
| parent | ce279a8e53a315622d5b6b4f3332692b903c6655 (diff) | |
| download | rust-d3d0bf0e9f4d748b95ed143cc636d159bfcb4a6f.tar.gz rust-d3d0bf0e9f4d748b95ed143cc636d159bfcb4a6f.zip | |
Auto merge of #57975 - alexcrichton:debug-exit-appveyor, r=pietroalbini
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!
Diffstat (limited to 'src/ci')
| -rwxr-xr-x | src/ci/run.sh | 7 |
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" |
