Skip to content

Commit e8fce89

Browse files
committed
ci: x86_64-gnu-tools: Add ad-hoc --test-args regression test
1 parent f3fd3ef commit e8fce89

File tree

1 file changed

+6
-1
lines changed
  • src/ci/docker/host-x86_64/x86_64-gnu-tools

1 file changed

+6
-1
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,9 @@ COPY scripts/shared.sh /scripts/
9191

9292
ENV SCRIPT /tmp/checktools.sh ../x.py && \
9393
python3 ../x.py check compiletest --set build.compiletest-use-stage0-libtest=true && \
94-
python3 ../x.py test tests/rustdoc-gui --stage 2 --test-args "'--jobs 1'"
94+
python3 ../x.py test tests/rustdoc-gui --stage 2 --test-args "'--jobs 1'" && \
95+
python3 ../x.py test --color=never tests/ui --test-args tests/ui/lint/unused/unused-result.rs --force-rerun | \
96+
grep --fixed-strings 'test result: ok. 1 passed; 0 failed; 0 ignored;'
97+
# The above is a regression test for https://github.com/rust-lang/rust/pull/146501#issuecomment-3292608398.
98+
# The bug we test for caused 0 tests to run. By grepping on that 1 test was run we prevent
99+
# regressing.

0 commit comments

Comments
 (0)