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/
91
91
92
92
ENV SCRIPT /tmp/checktools.sh ../x.py && \
93
93
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.
You can’t perform that action at this time.
0 commit comments