Skip to content

Commit 59ea75b

Browse files
committed
add more debugging code to track down appveyor 259 exit code
1 parent 8ae730a commit 59ea75b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

appveyor.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,10 @@ test_script:
207207
- sh src/ci/init_repo.sh . /c/cache/rustsrc
208208
- set SRC=.
209209
- set NO_CCACHE=1
210-
- sh src/ci/run.sh
210+
# Added this debugging code to try tracking down https://github.com/rust-lang/rust/issues/58160
211+
# Replace it with the commented line below after the issue with AppVeyor is fixed
212+
- "sh src/ci/run.sh & set ret=%errorlevel% & echo exit code in appveyor.yml: %ret% & exit %ret%"
213+
# - sh src/ci/run.sh
211214

212215
on_failure:
213216
# Dump crash log

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ if [ ! -z "$SCRIPT" ]; then
127127
set +e
128128
sh -x -c "$SCRIPT"
129129
ret=$?
130-
echo "script exited with $ret"
130+
echo "exit code in src/ci/run.sh: $ret"
131131
exit $ret
132132
else
133133
do_make() {

0 commit comments

Comments
 (0)