From: Pietro Albini Date: Mon, 4 Feb 2019 18:27:43 +0000 (+0100) Subject: add more debugging code to track down appveyor 259 exit code X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=59ea75b51ce3100d8e176551b41ec99330b8e011;p=rust.git add more debugging code to track down appveyor 259 exit code --- diff --git a/appveyor.yml b/appveyor.yml index d70ad54b1c8..0ec4210af98 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 diff --git a/src/ci/run.sh b/src/ci/run.sh index 0f2517c7d1f..b8b1052c41c 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -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() {