Skip to content

Commit a7ef2ab

Browse files
committed
Don’t match stderr against FileCheck lines in test-sourcekit-lsp.py
Stderr contains log output from sourcekit-lsp but we want to match the LSP communication that happens over stdin/stdout. It seems that the additional stderr output can confuse `FileCheck`. rdar://125139888
1 parent 09ee8d9 commit a7ef2ab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# language services.
33

44
# REQUIRES: have-sourcekit-lsp
5-
# rdar://125139888
6-
# REQUIRES: platform=Darwin
75

86
# Make a sandbox dir.
97
# RUN: rm -rf %t.dir
@@ -14,7 +12,7 @@
1412
# RUN: %{FileCheck} --check-prefix CHECK-BUILD-LOG --input-file %t.build-log %s
1513
# CHECK-BUILD-LOG-NOT: error:
1614

17-
# RUN: %{python} -u %s %{sourcekit-lsp} %t.dir/pkg 2>&1 | tee %t.run-log
15+
# RUN: %{python} -u %s %{sourcekit-lsp} %t.dir/pkg | tee %t.run-log
1816
# RUN: %{FileCheck} --input-file %t.run-log %s
1917

2018
import argparse

0 commit comments

Comments
 (0)