Skip to content

Commit

Permalink
Auto merge of rust-lang#57975 - alexcrichton:debug-exit-appveyor, r=p…
Browse files Browse the repository at this point in the history
…ietroalbini

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!
  • Loading branch information
bors committed Jan 30, 2019
2 parents 40e6a0b + ce279a8 commit d3d0bf0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d3d0bf0

Please sign in to comment.