From: Kadir Cetinkaya Date: Tue, 31 Jan 2023 07:01:35 +0000 (+0100) Subject: [clangd] Stop filtering lit tests based on target-triple X-Git-Tag: upstream/17.0.6~19111 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0afb6de4fc837d634d99b76ae73636a1f3ca73d;p=platform%2Fupstream%2Fllvm.git [clangd] Stop filtering lit tests based on target-triple 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. --- diff --git a/clang-tools-extra/clangd/test/dependency-output.test b/clang-tools-extra/clangd/test/dependency-output.test index a533158..c532cd00 100644 --- a/clang-tools-extra/clangd/test/dependency-output.test +++ b/clang-tools-extra/clangd/test/dependency-output.test @@ -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"}} --- diff --git a/clang-tools-extra/clangd/test/did-change-configuration-params.test b/clang-tools-extra/clangd/test/did-change-configuration-params.test index ae0d37a..08c7b4b 100644 --- a/clang-tools-extra/clangd/test/did-change-configuration-params.test +++ b/clang-tools-extra/clangd/test/did-change-configuration-params.test @@ -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"]}}}}} diff --git a/clang-tools-extra/clangd/test/test-uri-posix.test b/clang-tools-extra/clangd/test/test-uri-posix.test index d321b96..dc7dc78 100644 --- a/clang-tools-extra/clangd/test/test-uri-posix.test +++ b/clang-tools-extra/clangd/test/test-uri-posix.test @@ -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"}} ---