about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2019-02-04 19:27:43 +0100
committerPietro Albini <pietro@pietroalbini.org>2019-02-04 19:29:45 +0100
commit59ea75b51ce3100d8e176551b41ec99330b8e011 (patch)
tree2b23a7bf61914f8bb9b58b7f15827751ad310ab3
parent8ae730a442cc8af6a487a137ae9ba78f89edbba6 (diff)
downloadrust-59ea75b51ce3100d8e176551b41ec99330b8e011.tar.gz
rust-59ea75b51ce3100d8e176551b41ec99330b8e011.zip
add more debugging code to track down appveyor 259 exit code
-rw-r--r--appveyor.yml5
-rwxr-xr-xsrc/ci/run.sh2
2 files changed, 5 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..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() {