Skip to content

Commit 9de25f4

Browse files
committed
debugging
1 parent 4797fba commit 9de25f4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22
# ignore-tidy-linelength
33

44
set -eu
5+
set -x # so one can see where we are in the script
56

67
X_PY="$1"
78

9+
# Try Miri first as that's what we are debugging.
10+
# Default stage should suffice.
11+
python3 "$X_PY" test src/tools/miri
12+
813
# Try to test the toolstate-tracked tools and store the build/test success in the TOOLSTATE_FILE.
914

1015
set +e
@@ -23,8 +28,8 @@ cat /tmp/toolstate/toolstates.json
2328

2429
# Test remaining tools that must pass.
2530
python3 "$X_PY" test --stage 2 check-tools
26-
python3 "$X_PY" test --stage 2 src/tools/clippy
27-
python3 "$X_PY" test --stage 2 src/tools/rustfmt
31+
#python3 "$X_PY" test --stage 2 src/tools/clippy
32+
#python3 "$X_PY" test --stage 2 src/tools/rustfmt
2833

2934
# Testing Miri is a bit more complicated.
3035
# We set the GC interval to the shortest possible value (0 would be off) to increase the chance
@@ -55,6 +60,7 @@ case $HOST_TARGET in
5560
# Only run "pass" tests, which is quite a bit faster.
5661
python3 "$X_PY" test --stage 2 src/tools/miri --target aarch64-apple-darwin --test-args pass
5762
python3 "$X_PY" test --stage 2 src/tools/miri --target i686-pc-windows-gnu --test-args pass
63+
exit 1 # fail, as we are debugging
5864
;;
5965
*)
6066
echo "FATAL: unexpected host $HOST_TARGET"

0 commit comments

Comments
 (0)