File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %swiftc_driver -driver-print-jobs -index-file -index-file-path %s %S/Inputs/SwiftModuleA.swift %s -o %t.output_for_index -index-store-path %t.index_store -module-name driver_index 2>&1 | %FileCheck %s
2
- // CHECK: {{.*}}swift -frontend -typecheck {{.*}}SwiftModuleA.swift -primary-file {{.*}}driver-index.swift {{.*}}-o {{.*}}.output_for_index {{.*}}-index-store-path {{.*}}.index_store -index-system-modules
2
+ // CHECK: {{.*}}swift{{(c.EXE")?}} -frontend -typecheck {{.*}}SwiftModuleA.swift{{"?}} -primary-file {{.*}}driver-index.swift{{"?}} {{.*}}-o {{.*}}.output_for_index{{"?}} {{.*}}-index-store-path {{.*}}.index_store{{"?}} -index-system-modules
Original file line number Diff line number Diff line change 1
1
// RUN: rm -rf %t
2
- // RUN: %target-swift-frontend -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp
2
+ // RUN: %target-swift-frontend -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp -enable-objc-interop
3
3
// RUN: c-index-test core -print-unit %t/idx | %FileCheck %s -check-prefix=FILE1
4
4
5
5
// If the module cache already exists, the pcm gets indexed.
6
6
// RUN: rm -rf %t/idx
7
- // RUN: %target-swift-frontend -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp
7
+ // RUN: %target-swift-frontend -index-store-path %t/idx -primary-file %s -o %t/s1.o -I %S/Inputs -typecheck -module-cache-path %t/mcp -enable-objc-interop
8
8
// RUN: c-index-test core -print-unit %t/idx | %FileCheck %s -check-prefix=FILE1
9
9
10
10
// FIXME: index the bridging header!
11
11
12
12
// RUN: %empty-directory(%t)
13
13
// RUN: echo 'import ClangModuleA' > %t/s2.swift
14
- // RUN: %target-swift-frontend -index-store-path %t/idx %s %t/s2.swift -o %t/s1.o -o %t/s2.o -I %S/Inputs -c -emit-module -module-name main -emit-module-path %t/main.swiftmodule -module-cache-path %t/mcp
14
+ // RUN: %target-swift-frontend -index-store-path %t/idx %s %t/s2.swift -o %t/s1.o -o %t/s2.o -I %S/Inputs -c -emit-module -module-name main -emit-module-path %t/main.swiftmodule -module-cache-path %t/mcp -enable-objc-interop
15
15
// RUN: c-index-test core -print-unit %t/idx > %t/both.txt
16
16
// RUN: %FileCheck %s -check-prefix=FILE1 < %t/both.txt
17
17
// RUN: %FileCheck %s -check-prefix=FILE2 < %t/both.txt
Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-ide-test -print-indexed-symbols -enable-source-import -source-filename %s -I %S/Store/Inputs | %FileCheck %s
1
+ // RUN: %target-swift-ide-test -print-indexed-symbols -enable-objc-interop -enable- source-import -source-filename %s -I %S/Store/Inputs | %FileCheck %s
2
2
3
3
import NonExistingModuleName // Make sure invalid imports aren't affecting results
4
4
// CHECK-NOT: {{.*}} | NonExistingModuleName
You can’t perform that action at this time.
0 commit comments