x.py test mir-opt --bless
does not bless some tests
#122292
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
To reproduce, simply edit the file
tests/mir-opt/pre-codegen/checked_ops.checked_shl.PreCodegen.after.mir
and then runx.py test mir-opt --bless
. I'd expect the file to be changed back, but actually it is left unchanged.Interestingly,
x.py test mir-opt
does check that file. This is on a x86-64 host, and the test is markedneeds-unwind
andonly-x86_64
.--bless
adds a bunch of extra targets to bless, seems like my default targetx86_64
with unwinding is not one of them though?--bless
should make sure to always bless the configuration that is tested without--bless
.The text was updated successfully, but these errors were encountered: