[clang-tools-extra] Convert tests to check 'target=...'

Part of the project to eliminate special handling for triples in lit
expressions.
This commit is contained in:
Paul Robinson 2022-12-15 09:50:21 -08:00
parent d07c54c2a5
commit 40cc041d4e
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# UNSUPPORTED: windows-gnu,windows-msvc
# UNSUPPORTED: target={{.*-windows-(gnu|msvc)}}
# RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
---

View 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: windows-gnu,windows-msvc
# UNSUPPORTED: target={{.*-windows-(gnu|msvc)}}
{"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"]}}}}}

View File

@ -1,5 +1,5 @@
# RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
# UNSUPPORTED: windows-gnu,windows-msvc
# UNSUPPORTED: target={{.*-windows-(gnu|msvc)}}
# Test authority-less URI
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
---

View File

@ -1,5 +1,5 @@
# RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
# UNSUPPORTED: !(windows-gnu || windows-msvc)
# REQUIRES: target={{.*-windows-(gnu|msvc)}}
# Test authority-less URI
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
---

View File

@ -1,6 +1,6 @@
// Remove UNSUPPORTED for powerpc64le when the problem introduced by
// r288563 is resolved.
// UNSUPPORTED: powerpc64le
// UNSUPPORTED: target=powerpc64le{{.*}}
// RUN: %check_clang_tidy %s readability-identifier-naming %t -- \
// RUN: -config='{CheckOptions: [ \
// RUN: {key: readability-identifier-naming.AbstractClassCase, value: CamelCase}, \