]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #100811 - czzrr:master, r=Mark-Simulacrum
authorYuki Okushi <jtitor@2k36.org>
Sat, 27 Aug 2022 04:14:18 +0000 (13:14 +0900)
committerGitHub <noreply@github.com>
Sat, 27 Aug 2022 04:14:18 +0000 (13:14 +0900)
commit7214f0cfc42c8a63ea039ddb82bd8790884c475f
treea180655d264a1a521f51e87a346cbd9e022abf4f
parent134cc2d6be66e5dd540d703f1fc58353fccfc761
parent8998024aa388b1d15992133b98fadba1047e4bfe
Rollup merge of #100811 - czzrr:master, r=Mark-Simulacrum

Fix wrong compiletest filters on Windows

As discussed in [#79334](https://github.com/rust-lang/rust/issues/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?