Skip to content

Commit 2c1a719

Browse files
committed
[Test/Index] Update Index tests to reference swiftinterface files
1 parent d2983bf commit 2c1a719

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/Index/Store/unit-one-file-multi-file-invocation.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
// CHECK: 00-output_for_index
99
// CHECK: DEPEND START
10-
// CHECK: Unit | system | Swift | [[MODULE:.*[/\\]Swift[.]swiftmodule([/\\].+[.]swiftmodule)?]] | [[SWIFT:.+[.]swiftmodule-[A-Z0-9]*]]
10+
// CHECK: Unit | system | Swift | [[MODULE:.*[/\\]Swift[.]swiftmodule([/\\].+[.]private.swiftinterface)?]] | [[SWIFT:.+[.]private.swiftinterface-[A-Z0-9]*]]
1111
// CHECK: Record | user | {{.*}}{{/|\\}}unit-one-file-multi-file-invocation.swift |
1212
// CHECK: DEPEND END (2)
1313

1414
// CHECK: [[SWIFT]]
1515
// CHECK: DEPEND START
16-
// CHECK: Record | system | Swift.Math.Floating | [[MODULE]] | {{.+}}.swiftmodule_Math_Floating-{{.*}}
17-
// CHECK: Record | system | Swift.String | [[MODULE]] | {{.+}}.swiftmodule_String-{{.*}}
16+
// CHECK: Record | system | Swift.Math.Floating | [[MODULE]] | {{.+}}.private.swiftinterface_Math_Floating-{{.*}}
17+
// CHECK: Record | system | Swift.String | [[MODULE]] | {{.+}}.private.swiftinterface_String-{{.*}}
1818
// CHECK: DEPEND END
1919

2020
func test1() {

test/Index/skip-loaded-internal.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// RUN: mkdir -p %t/Frameworks/lib2.framework/Modules/lib2.swiftmodule
44
// RUN: split-file %s %t
55

6-
// RUN: %target-swift-frontend -emit-module -emit-module-source-info -module-name lib2 -o %t/Frameworks/lib2.framework/Modules/lib2.swiftmodule/%module-target-triple.swiftmodule %t/lib2.swift -disable-experimental-string-processing
7-
// RUN: %target-swift-frontend -emit-module -emit-module-source-info -module-name lib -o %t/Frameworks/lib.framework/Modules/lib.swiftmodule/%module-target-triple.swiftmodule %t/lib.swift -Fsystem %t/Frameworks -disable-experimental-string-processing
6+
// RUN: %target-swift-frontend -emit-module -emit-module-source-info -module-name lib2 -o %t/Frameworks/lib2.framework/Modules/lib2.swiftmodule/%module-target-triple.swiftmodule %t/lib2.swift -disable-experimental-string-processing -parse-stdlib
7+
// RUN: %target-swift-frontend -emit-module -emit-module-source-info -module-name lib -o %t/Frameworks/lib.framework/Modules/lib.swiftmodule/%module-target-triple.swiftmodule %t/lib.swift -Fsystem %t/Frameworks -disable-experimental-string-processing -parse-stdlib
88

9-
// RUN: %target-swift-frontend -typecheck -index-system-modules -index-ignore-stdlib -index-store-path %t/idx -Fsystem %t/Frameworks %t/main.swift -disable-deserialization-recovery -disable-experimental-string-processing
9+
// RUN: %target-swift-frontend -typecheck -index-system-modules -index-ignore-stdlib -index-store-path %t/idx -Fsystem %t/Frameworks %t/main.swift -disable-deserialization-recovery -disable-experimental-string-processing -parse-stdlib
1010

1111
//--- main.swift
1212
import lib

0 commit comments

Comments
 (0)