Skip to content

Commit

Permalink
Rollup merge of rust-lang#58162 - pietroalbini:track-259, r=alexcrichton
Browse files Browse the repository at this point in the history
Add more debugging code to track down appveyor 259 exit code

cc rust-lang#58160
r? @alexcrichton
  • Loading branch information
kennytm authored Feb 5, 2019
2 parents 64f0032 + 2bfb4b3 commit 4c243e2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ test_script:
- sh src/ci/init_repo.sh . /c/cache/rustsrc
- set SRC=.
- set NO_CCACHE=1
- sh src/ci/run.sh
# Added this debugging code to try tracking down https://github.com/rust-lang/rust/issues/58160
# Replace it with the commented line below after the issue with AppVeyor is fixed
- "sh src/ci/run.sh & set ret=%errorlevel% & echo exit code in appveyor.yml: %ret% & exit %ret%"
# - sh src/ci/run.sh

on_failure:
# Dump crash log
Expand Down
8 changes: 7 additions & 1 deletion src/ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,13 @@ if [ ! -z "$SCRIPT" ]; then
set +e
sh -x -c "$SCRIPT"
ret=$?
echo "script exited with $ret"
echo "exit code in src/ci/run.sh: $ret"

echo "tasklist:"
tasklist
echo -n "location of sh: "
where sh

exit $ret
else
do_make() {
Expand Down

0 comments on commit 4c243e2

Please sign in to comment.