Skip to content

Commit 838b37e

Browse files
committed
Force-enable indexing for clang in swiftpm
We should fix swiftpm to not need this when using clang from swift-clang toolchain, which supports indexing, but for now force it for the test.
1 parent fcb32a0 commit 838b37e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# RUN: mkdir -p %t.dir
77
# RUN: cp -r %S/pkg %t.dir/
88

9-
# RUN: %{swift-build} --package-path %t.dir/pkg -Xswiftc -index-ignore-system-modules -v 2>&1 | tee %t.build-log
9+
# RUN: env SWIFTPM_ENABLE_CLANG_INDEX_STORE=1 %{swift-build} --package-path %t.dir/pkg -Xswiftc -index-ignore-system-modules -v 2>&1 | tee %t.build-log
1010
# RUN: %{FileCheck} --check-prefix CHECK-BUILD-LOG --input-file %t.build-log %s
1111
# CHECK-BUILD-LOG-NOT: error:
1212

0 commit comments

Comments
 (0)