Skip to content

Commit bce6490

Browse files
committed
Fix indexstore test paths on Windows
1 parent af81adb commit bce6490

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/SourceKit/Indexing/indexstore_multifile.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ struct Foo {
1616

1717
// CHECK: indexstore_multifile.o-{{.*}}
1818
// CHECK: module-name: indexstoremodule
19-
// CHECK: main-path: SOURCE_DIR/test/SourceKit/Indexing/indexstore_multifile.swift
19+
// CHECK: main-path: SOURCE_DIR{{/|\\}}test{{/|\\}}SourceKit{{/|\\}}Indexing{{/|\\}}indexstore_multifile.swift
2020
// CHECK: out-file: BUILD_DIR{{.*}}indexstore_multifile.o
2121
// CHECK: is-debug: 1
2222
// CHECK: Unit | system | Swift | {{.*}}{{/|\\}}Swift.swiftmodule
23-
// CHECK: Record | user | SOURCE_DIR/test/SourceKit/Indexing/indexstore_multifile.swift | indexstore_multifile.swift-{{.*}}
23+
// CHECK: Record | user | SOURCE_DIR{{/|\\}}test{{/|\\}}SourceKit{{/|\\}}Indexing{{/|\\}}indexstore_multifile.swift | indexstore_multifile.swift-{{.*}}

test/SourceKit/Indexing/indexstore_with_remappings.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Foo {
1111

1212
// CHECK: indexstore_with_remappings.o-{{.*}}
1313
// CHECK: module-name: indexstoremodule
14-
// CHECK: main-path: REMAPPED_SRC_ROOT/indexstore_with_remappings.swift
15-
// CHECK: out-file: REMAPPED_OUT_DIR/indexstore_with_remappings.o
14+
// CHECK: main-path: REMAPPED_SRC_ROOT{{/|\\}}indexstore_with_remappings.swift
15+
// CHECK: out-file: REMAPPED_OUT_DIR{{/|\\}}indexstore_with_remappings.o
1616
// CHECK: is-debug: 1
1717
// CHECK: Unit | system | Swift | {{.*}}{{/|\\}}Swift.swiftmodule

0 commit comments

Comments
 (0)