File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/ci/docker/host-x86_64/x86_64-gnu-tools Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2
2
# ignore-tidy-linelength
3
3
4
4
set -eu
5
+ set -x # so one can see where we are in the script
5
6
6
7
X_PY=" $1 "
7
8
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
+
8
13
# Try to test the toolstate-tracked tools and store the build/test success in the TOOLSTATE_FILE.
9
14
10
15
set +e
@@ -23,8 +28,8 @@ cat /tmp/toolstate/toolstates.json
23
28
24
29
# Test remaining tools that must pass.
25
30
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
28
33
29
34
# Testing Miri is a bit more complicated.
30
35
# 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
55
60
# Only run "pass" tests, which is quite a bit faster.
56
61
python3 " $X_PY " test --stage 2 src/tools/miri --target aarch64-apple-darwin --test-args pass
57
62
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
58
64
;;
59
65
* )
60
66
echo " FATAL: unexpected host $HOST_TARGET "
You can’t perform that action at this time.
0 commit comments