Skip to content

Commit b99259d

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 4b14058 commit b99259d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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

tests/ui/dis/panic_sequential_many.rs

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

0 commit comments

Comments
 (0)