[clang-tools-extra] r325257 - [clangd] Use explicit env in test to make lit+windows happy. NFC
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 15 08:20:33 PST 2018
Author: sammccall
Date: Thu Feb 15 08:20:33 2018
New Revision: 325257
URL: http://llvm.org/viewvc/llvm-project?rev=325257&view=rev
Log:
[clangd] Use explicit env in test to make lit+windows happy. NFC
Modified:
clang-tools-extra/trunk/test/clangd/trace.test
Modified: clang-tools-extra/trunk/test/clangd/trace.test
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clangd/trace.test?rev=325257&r1=325256&r2=325257&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clangd/trace.test (original)
+++ clang-tools-extra/trunk/test/clangd/trace.test Thu Feb 15 08:20:33 2018
@@ -1,4 +1,4 @@
-# RUN: CLANGD_TRACE=%t clangd -lit-test < %s && FileCheck %s < %t
+# RUN: env CLANGD_TRACE=%t clangd -lit-test < %s && FileCheck %s < %t
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
---
{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///foo.c","languageId":"c","version":1,"text":"void main() {}"}}}
More information about the cfe-commits
mailing list