-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
compiletest's 'SKIPPED 246746 BYTES' logic breaks tests #94322
Copy link
Copy link
Closed
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.E-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.E-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.
src/tools/compiletesttruncates large outputs by replacing the middle by<<<<<< SKIPPED {} BYTES >>>>>>:rust/src/tools/compiletest/src/read2.rs
Line 52 in 7ccfe2f
This can break the test runner which tries to parse the output as json, which will break on the
<<< .. >>>message. For example here: https://github.com/rust-lang/rust/runs/4586149338?check_suite_focus=true:This is blocking #92123 (A workaround for this PR could be to simply increase the threshold, but we should probably have a better solution.)