Fix wrong compiletest filters on Windows by czzrr · Pull Request #100811 · rust-lang/rust (original) (raw)
As discussed in #79334, when calling e.g.
python x.py test src/test/ui/expr/compound-assignment/eval-order.rs
on Windows, compiletest passes the filter expr/compound-assignment/eval-order.rs
to libtest, which instead should be expr\compound-assignment\eval-order.rs
, as that is the file found when collecting tests. This is what I fixed.
I'm not sure how to organize a test for this. Any suggestions?