[clangd] Stop filtering lit tests based on target-triple
authorKadir Cetinkaya <kadircet@google.com>
Tue, 31 Jan 2023 07:01:35 +0000 (08:01 +0100)
committerKadir Cetinkaya <kadircet@google.com>
Tue, 31 Jan 2023 07:01:38 +0000 (08:01 +0100)
We are performing this filtering due to having unix style file paths in
certain tests. Hence we're actually trying to filter based on host
platform and not the target-triple LLVM is using.

2493a7016416c90038be5c816e12a7ad07cee054 introduced filtering based on
host platform already, so we can get rid of target-triple based
filtering now.

clang-tools-extra/clangd/test/dependency-output.test
clang-tools-extra/clangd/test/did-change-configuration-params.test
clang-tools-extra/clangd/test/test-uri-posix.test

index a533158..c532cd0 100644 (file)
@@ -1,4 +1,4 @@
-# UNSUPPORTED: system-windows, target={{.*-windows-(gnu|msvc)}}
+# UNSUPPORTED: system-windows
 # RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
 ---
index ae0d37a..08c7b4b 100644 (file)
@@ -1,6 +1,6 @@
 # RUN: clangd -compile_args_from=lsp -lit-test < %s 2> %t | FileCheck -strict-whitespace %s
 # RUN: FileCheck --check-prefix=ERR --input-file=%t %s
-# UNSUPPORTED: system-windows, target={{.*-windows-(gnu|msvc)}}
+# UNSUPPORTED: system-windows
 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
 ---
 {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"compilationDatabaseChanges":{"/clangd-test/foo.c": {"workingDirectory":"/clangd-test", "compilationCommand": ["clang", "-c", "foo.c"]}}}}}
index d321b96..dc7dc78 100644 (file)
@@ -1,5 +1,5 @@
 # RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
-# UNSUPPORTED: system-windows, target={{.*-windows-(gnu|msvc)}}
+# UNSUPPORTED: system-windows
 # Test authority-less URI
 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
 ---