llvm-project/clang-tools-extra/clangd/test/log.test

10 lines
362 B
Plaintext

# RUN: env CLANGD_FLAGS=-index-file=no-such-index not clangd -lit-test </dev/null 2>&1 >/dev/null | FileCheck %s
CHECK: I[{{.*}}] clangd version {{.*}}
CHECK: Working directory: {{.*}}
CHECK: argv[0]: clangd
CHECK: argv[1]: -lit-test
CHECK: CLANGD_FLAGS: -index-file=no-such-index
CHECK: E[{{.*}}] Can't open no-such-index
CHECK: Starting LSP over stdin/stdout