File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/ci/docker/host-x86_64/x86_64-gnu-tools Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -91,4 +91,9 @@ COPY scripts/shared.sh /scripts/
9191
9292ENV 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 tests/ui --color=never --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. Any single test can be used. We arbitrarily chose `tests/ui/lint/unused/unused-result.rs`.
You can’t perform that action at this time.
0 commit comments