diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh b/src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh new file mode 100755 index 000000000..412efe5c4 --- /dev/null +++ b/src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +set -eu + +X_PY="$1" + +# Try to test all the tools and store the build/test success in the TOOLSTATE_FILE + +set +e +python3 "$X_PY" test --stage 2 --no-fail-fast \ + src/doc/book \ + src/doc/nomicon \ + src/doc/reference \ + src/doc/rust-by-example \ + src/doc/embedded-book \ + src/doc/edition-guide \ + src/tools/rls \ + src/tools/miri \ + +set -e + +# debugging: print out the saved toolstates +cat /tmp/toolstate/toolstates.json +python3 "$X_PY" test --stage 2 check-tools +python3 "$X_PY" test --stage 2 src/tools/clippy +python3 "$X_PY" test --stage 2 src/tools/rustfmt |