Skip to content

Commit bacbe88

Browse files
authored
Merge pull request #62551 from ahoppen/ahoppen/target-triple-in-test
[SourceKit] Pass target-triple in new SourceKit test
2 parents 0d666e2 + 39f8fa5 commit bacbe88

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/SourceKit/CursorInfo/cursor_uses_swiftsourceinfo.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
// REQUIRES: rdar103268363
2-
31
// RUN: %empty-directory(%t/split)
42
// RUN: %{python} %utils/split_file.py -o %t/split %s
53
// RUN: %empty-directory(%t/build)
64
// RUN: %target-swift-frontend -emit-module -module-name MyModule -emit-module-path %t/build/MyModule.swiftmodule -emit-module-source-info-path %t/build/MyModule.swiftsourceinfo %t/split/Action.swift
7-
// RUN: %sourcekitd-test -req=cursor -req-opts=retrieve_symbol_graph=1 -pos=5:14 %t/split/test.swift -- %t/split/test.swift -I %t/build | %FileCheck %s
5+
// RUN: %sourcekitd-test -req=cursor -req-opts=retrieve_symbol_graph=1 -pos=5:14 %t/split/test.swift -- %t/split/test.swift -I %t/build -target %target-triple | %FileCheck %s
86

97
// BEGIN Action.swift
108
public protocol Action {}

0 commit comments

Comments
 (0)