add more debugging code to track down appveyor 259 exit code

This commit is contained in:
Pietro Albini 2019-02-04 19:27:43 +01:00
parent 8ae730a442
commit 59ea75b51c
No known key found for this signature in database
GPG Key ID: 3E06ABE80BAAF19C
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -127,7 +127,7 @@ 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"
exit $ret
else
do_make() {