diff options
| author | kennytm <kennytm@gmail.com> | 2019-02-06 00:29:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-06 00:29:16 +0900 |
| commit | 4c243e2c3d8f02cdcd22fe68acf6a0b3edca2078 (patch) | |
| tree | 23a637b6afe48a3f3333e7e5c75e2d5457268406 | |
| parent | 64f0032a3739b18ae45387744340d9c7ce48b145 (diff) | |
| parent | 2bfb4b336fc8fcd499c36dbc997dd18c7a5e62cf (diff) | |
| download | rust-4c243e2c3d8f02cdcd22fe68acf6a0b3edca2078.tar.gz rust-4c243e2c3d8f02cdcd22fe68acf6a0b3edca2078.zip | |
Rollup merge of #58162 - pietroalbini:track-259, r=alexcrichton
Add more debugging code to track down appveyor 259 exit code cc https://github.com/rust-lang/rust/issues/58160 r? @alexcrichton
| -rw-r--r-- | appveyor.yml | 5 | ||||
| -rwxr-xr-x | src/ci/run.sh | 8 |
2 files changed, 11 insertions, 2 deletions
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..0841e70a6ed 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -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() { |
