Skip to content

Commit 940551e

Browse files
authored
Merge pull request #65 from apple/master-rebranch
Update master to support new stable branch for LLVM Projects
2 parents 85aa648 + 437d211 commit 940551e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Tests that DT_RPATH is correct for the dummy repl executable on Linux.
22
# REQUIRES: platform=Linux
33
# RUN: %{readelf} -d %{repl_swift} | %{FileCheck} %s
4-
# CHECK: {{.*}} {{RPATH|RUNPATH}} {{.*}}$ORIGIN/../lib/swift/linux
4+
# CHECK: {{.*}} {{\(RPATH\)|\(RUNPATH\)}} {{.*}}$ORIGIN/../lib/swift/linux

test-sourcekit-lsp/test-sourcekit-lsp.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,8 @@ def main():
122122
'position': { 'line': 2, 'character': 22}, ## zero-based
123123
})
124124
# CHECK: "items":[
125-
# FIXME: Extra space?
126-
# CHECK-DAG: "label":" clib_func()"
127-
# CHECK-DAG: "label":" clib_other()"
125+
# CHECK-DAG: "insertText":"clib_func"
126+
# CHECK-DAG: "insertText":"clib_other"
128127
# CHECK: ]
129128

130129
lsp.request('shutdown', {})
@@ -135,7 +134,8 @@ def main():
135134
print('')
136135
print('==== OUTPUT ====')
137136

138-
p = subprocess.Popen([args.sourcekit_lsp, '--sync'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
137+
skargs = [args.sourcekit_lsp, '--sync', '-Xclangd', '-sync']
138+
p = subprocess.Popen(skargs, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
139139
out, _ = p.communicate(lsp.script)
140140
print(out)
141141
print('')

0 commit comments

Comments
 (0)