have created this #71531 to move the only treat-err-as-bug test we have to UI
as I've explained there I'm not sure if it's a good idea to run it with
are there normalization rules you could apply to fix that?
(to remove the host specific information from the stack trace, that is)
normalize-stderr-test in the current set of UI tests to see examples of what I am referring to.
I think there's something
@pnkfelix I wonder how you discard stuff you catched in the regex
? I think by just not including it?
i.e. you could just map the whole line to OHNOE
so it's happening the opposite
everything is discarded
see e.g. svh/svh-change-trait-bound.rs
// normalize-stderr-test "at /.*/src/backtrace/.*:[0-9]*" -> "src/backtrace/FILENAME:LL"
Okay. so there's stuff you want included?
for those things, enclose them in parenthesis in the pattern
(again, see svh/svh-change-trait-bound.rs for an example)
ahh I see
$1 for the first parenthesized thing, $2 for the second, etc
this is a relatively standard thing for regexp's to support, and very useful
yeah, it's working
I've messed some stuff but it's ok now
#71531 is ready then
modulo CI being green