Skip to content

Commit 02cefd1

Browse files
committed
Further process paths on windows
We have specific code to handle the path mangling on windows, but for some reason it isn't working for these tests. This is a hack to make them pass on windows.
1 parent 0572151 commit 02cefd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/dis/panic_builtin_bounds_check.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// compile-flags: -C target-feature=+ext:SPV_KHR_non_semantic_info
77
// compile-flags: -C llvm-args=--abort-strategy=debug-printf
88
// compile-flags: -C llvm-args=--disassemble
9-
9+
//
1010
// FIXME(eddyb) consider using such replacements also for dealing
1111
// with `OpLine` changing all the time (esp. in libcore functions).
1212
//
@@ -15,7 +15,7 @@
1515
// normalize-stderr-test "OpSource .*\n" -> ""
1616
// normalize-stderr-test "OpExtension .SPV_KHR_vulkan_memory_model.\n" -> ""
1717
// normalize-stderr-test "OpMemoryModel Logical Vulkan" -> "OpMemoryModel Logical Simple"
18-
18+
// normalize-stderr-test "\S:\S*/panic_builtin_bounds_check.rs" -> "$$DIR/panic_builtin_bounds_check.rs"
1919
// FIXME(eddyb) handle this one in the test runner.
2020
// normalize-stderr-test "\S*/lib/rustlib/" -> "$$SYSROOT/lib/rustlib/"
2121

0 commit comments

Comments
 (0)