]> git.lizzy.rs Git - rust.git/commitdiff
add more debugging code to track down appveyor 259 exit code
authorPietro Albini <pietro@pietroalbini.org>
Mon, 4 Feb 2019 18:27:43 +0000 (19:27 +0100)
committerPietro Albini <pietro@pietroalbini.org>
Mon, 4 Feb 2019 18:29:45 +0000 (19:29 +0100)
appveyor.yml
src/ci/run.sh

index d70ad54b1c812ee6ef9b293cbfa9f434f4fb882b..0ec4210af98b2782e8edb7210edc1660e6545667 100644 (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
index 0f2517c7d1f55db03ea2563235fad74f86d85330..b8b1052c41c12d20fe156baad961789397430a26 100755 (executable)
@@ -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() {