tidy: Add a check for empty .stderr
and .stdout
files in UI test directories
#50785
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Tidy check in https://github.com/rust-lang/rust/blob/master/src/tools/tidy/src/ui_tests.rs makes sure that we don't have stray
testname.stderr
/testname.stdout
files without a correspondingtestname.rs
.It would be useful to add one more check into the same file making sure that
testname.stderr
/testname.stdout
files are not empty.Such empty files can still pass testing for
compile-pass
tests with no output so they can get into the repo accidentally, but they are not necessary and can be removed.The text was updated successfully, but these errors were encountered: