-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiletest: Support forbid-output
in UI tests
#134738
Conversation
rustbot has assigned @albertlarsan68. Use |
Some changes occurred in src/tools/compiletest cc @jieyouxu |
Wait, so this is like the dual of error-pattern. Can we rename this to forbid-error-pattern maybe? |
Actually, I'll revisit |
@bors r+ rollup=iffy (who knows if any tests actually should've failed but never did) |
☀️ Test successful - checks-actions |
Finished benchmarking commit (a0a5c42): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowOur benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary -2.9%, secondary 2.5%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary 4.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 763.93s -> 763.617s (-0.04%) |
Test only change. Gotta be noise. @rustbot label: +perf-regression-triaged |
The
forbid-output
directive is currently only run in incremental tests (although no incremental tests use it). There are some UI tests 'using' it, but it's doing nothing 😄 Let's fix thisWill also PR the dev guide to note this.
dev-guide PR: rust-lang/rustc-dev-guide#2171