File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t.mod)
2
2
// RUN: %target-swift-frontend -module-name MyModule -emit-module -emit-module-path %t.mod/MyModule.swiftmodule -emit-module-doc -emit-module-doc-path %t.mod/MyModule.swiftdoc -group-info-path %S/Inputs/group.json %S/Inputs/FooSwiftModule.swift
3
3
4
- // RUN: %sourcekitd-test -req=cursor -pos=7:10 %s -- %s -I %t.mod | %FileCheck -check-prefix=CHECK %s
4
+ // RUN: %sourcekitd-test -req=cursor -pos=7:10 %s -- %s -I %t.mod -target %target-triple | %FileCheck -check-prefix=CHECK %s
5
5
6
6
import MyModule
7
7
_ = fooSwiftFunc ( )
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t.mod)
2
2
// RUN: %target-swift-frontend -module-name MyModule -emit-module -emit-module-path %t.mod/MyModule.swiftmodule -emit-module-doc -emit-module-doc-path %t.mod/MyModule.swiftdoc -group-info-path %S/Inputs/group.json %S/Inputs/swift_mod.swift %S/Inputs/swift_mod_syn.swift
3
- // RUN: %sourcekitd-test -req=interface-gen -module MyModule -group-name A -- -I %t.mod | %FileCheck -check-prefix=GROUPA %s
4
- // RUN: %sourcekitd-test -req=interface-gen -module MyModule -group-name B -- -I %t.mod | %FileCheck -check-prefix=GROUPB %s
3
+ // RUN: %sourcekitd-test -req=interface-gen -module MyModule -group-name A -- -I %t.mod -target %target-triple | %FileCheck -check-prefix=GROUPA %s
4
+ // RUN: %sourcekitd-test -req=interface-gen -module MyModule -group-name B -- -I %t.mod -target %target-triple | %FileCheck -check-prefix=GROUPB %s
5
5
6
6
// GROUPA: MyClass
7
7
// GROUPA-NOT: P1
You can’t perform that action at this time.
0 commit comments