File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/ci/docker/host-x86_64/x86_64-gnu-tools Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -30,3 +30,10 @@ cat /tmp/toolstate/toolstates.json
30
30
python3 " $X_PY " test --stage 2 check-tools
31
31
python3 " $X_PY " test --stage 2 src/tools/clippy
32
32
python3 " $X_PY " test --stage 2 src/tools/rustfmt
33
+
34
+ # The below is a regression test for https://github.com/rust-lang/rust/pull/146501#issuecomment-3292608398.
35
+ # The bug caused 0 tests to run. By grepping on that 1 test is run we prevent regressing.
36
+ # Any test can be used. We arbitrarily chose `tests/ui/lint/unused/unused-result.rs`.
37
+ python3 " $X_PY " test tests/ui --test-args tests/ui/lint/unused/unused-result.rs --force-rerun |
38
+ grep --fixed-strings ' test result: ok. 1 passed; 0 failed; 0 ignored;' ||
39
+ ( echo " ERROR: --test-args functionality is broken" && exit 1 )
You can’t perform that action at this time.
0 commit comments