Author: phosek Date: Wed Aug 8 19:16:18 2018 New Revision: 339307 URL: http://llvm.org/viewvc/llvm-project?rev=339307&view=rev Log: [CMake] Use normalized Windows target triples
Changes the default Windows target triple returned by GetHostTriple.cmake from the old environment names (which we wanted to move away from) to newer, normalized ones. This also requires updating all tests to use the new systems names in constraints. Differential Revision: https://reviews.llvm.org/D47381 Modified: clang-tools-extra/trunk/test/clangd/did-change-configuration-params.test clang-tools-extra/trunk/test/clangd/test-uri-posix.test clang-tools-extra/trunk/test/clangd/test-uri-windows.test Modified: clang-tools-extra/trunk/test/clangd/did-change-configuration-params.test URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clangd/did-change-configuration-params.test?rev=339307&r1=339306&r2=339307&view=diff ============================================================================== --- clang-tools-extra/trunk/test/clangd/did-change-configuration-params.test (original) +++ clang-tools-extra/trunk/test/clangd/did-change-configuration-params.test Wed Aug 8 19:16:18 2018 @@ -1,6 +1,6 @@ # RUN: clangd -compile_args_from=lsp -lit-test < %s 2> %t | FileCheck -strict-whitespace %s # RUN: cat %t | FileCheck --check-prefix=ERR %s -# UNSUPPORTED: mingw32,win32 +# UNSUPPORTED: windows-gnu,windows-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"]}}}}} Modified: clang-tools-extra/trunk/test/clangd/test-uri-posix.test URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clangd/test-uri-posix.test?rev=339307&r1=339306&r2=339307&view=diff ============================================================================== --- clang-tools-extra/trunk/test/clangd/test-uri-posix.test (original) +++ clang-tools-extra/trunk/test/clangd/test-uri-posix.test Wed Aug 8 19:16:18 2018 @@ -1,5 +1,5 @@ # RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s -# UNSUPPORTED: mingw32,win32 +# UNSUPPORTED: windows-gnu,windows-msvc # Test authority-less URI {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}} --- Modified: clang-tools-extra/trunk/test/clangd/test-uri-windows.test URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clangd/test-uri-windows.test?rev=339307&r1=339306&r2=339307&view=diff ============================================================================== --- clang-tools-extra/trunk/test/clangd/test-uri-windows.test (original) +++ clang-tools-extra/trunk/test/clangd/test-uri-windows.test Wed Aug 8 19:16:18 2018 @@ -1,5 +1,5 @@ # RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s -# REQUIRES: mingw32 || win32 +# REQUIRES: windows-gnu || windows-msvc # Test authority-less URI {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}} --- _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits