Skip to content

Commit c7a50c2

Browse files
committed
Adapt filtering of rustc tests for upstream changes
1 parent 49db50e commit c7a50c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test_rustc_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ for test in $(rg --files-with-matches "lto" tests/{codegen-units,ui,incremental}
1515
rm $test
1616
done
1717

18-
for test in $(rg -i --files-with-matches "//(\[\w+\])?~[^\|]*\s*ERR|// error-pattern:|// build-fail|// run-fail|-Cllvm-args" tests/ui); do
18+
for test in $(rg -i --files-with-matches "//(\[\w+\])?~[^\|]*\s*ERR|//@ error-pattern:|//@ build-fail|//@ run-fail|-Cllvm-args" tests/ui); do
1919
rm $test
2020
done
2121

0 commit comments

Comments
 (0)