diff options
| author | Ralf Jung <post@ralfj.de> | 2024-04-21 10:26:28 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-04-21 12:36:16 +0200 |
| commit | ae37b6ec585628764c9af4d3c67137c981bc4ea7 (patch) | |
| tree | 086551363b997207a273be55977d9c8807700216 /src/tools/miri/tests | |
| parent | 61a7d3d52311aa272a9ae81e96fd7438d8573eb9 (diff) | |
| download | rust-ae37b6ec585628764c9af4d3c67137c981bc4ea7.tar.gz rust-ae37b6ec585628764c9af4d3c67137c981bc4ea7.zip | |
the mir-validation ICE test behaves strangely on Windows hosts
let's just disable it there, this code is not platform-dependent anyway
Diffstat (limited to 'src/tools/miri/tests')
| -rw-r--r-- | src/tools/miri/tests/panic/mir-validation.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tools/miri/tests/panic/mir-validation.rs b/src/tools/miri/tests/panic/mir-validation.rs index 5c1519f2eb9..f1d0ccc7d03 100644 --- a/src/tools/miri/tests/panic/mir-validation.rs +++ b/src/tools/miri/tests/panic/mir-validation.rs @@ -1,10 +1,13 @@ //! Ensure that the MIR validator runs on Miri's input. //@rustc-env:RUSTC_ICE=0 -//@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> "" -//@normalize-stderr-test: "\n +at [^\n]+" -> "" -//@normalize-stderr-test: "\n +\[\.\.\. omitted [0-9]+ frames? \.\.\.\]" -> "" +//@normalize-stderr-test: "\n +[0-9]+:.+" -> "" +//@normalize-stderr-test: "\n +at .+" -> "" +//@normalize-stderr-test: "\n +\[\.\.\. omitted [0-9]+ frames? \.\.\.\].*" -> "" //@normalize-stderr-test: "\n[ =]*note:.*" -> "" //@normalize-stderr-test: "DefId\([^()]*\)" -> "DefId" +// Somehow on rustc Windows CI, the "Miri caused an ICE" message is not shown +// and we don't even get a regular panic; rustc aborts with a different exit code instead. +//@ignore-host-windows #![feature(custom_mir, core_intrinsics)] use core::intrinsics::mir::*; |
