github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 3100 tests passed
* 29 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### Clangd Unit Tests
<details>
<summary>Clangd Unit
Tests._/ClangdTests_exe/DiagnosticTest/ClangTidySelfContainedDiags</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\unittests\.\ClangdTests.exe
--gtest_filter=DiagnosticTest.ClangTidySelfContainedDiags
--
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\unittests\DiagnosticsTests.cpp:936
Value of: TU.build().getDiagnostics()
Expected: has 4 elements and there exists some permutation of elements such
that:
- element #0 (Diag at 4:8-4:14 = ['A' should be initialized in a member
initializer of the constructor]) and (is an object whose given field has 1
element that LSP fix 'A' should be initialized in a member initializer of the
constructor {3:11-3:11 => " : A(1)", 4:8-4:14 => ""}), and
- element #1 (Diag at 5:8-5:14 = ['B' should be initialized in a member
initializer of the constructor]) and (is an object whose given field has 1
element that LSP fix 'B' should be initialized in a member initializer of the
constructor {3:11-3:11 => " : B(1)", 5:8-5:14 => ""}), and
- element #2 (Diag at 9:12-9:13 = [variable 'C' is not initialized]) and (is
an object whose given field has 1 element that LSP fix variable 'C' is not
initialized {9:13-9:13 => " = NAN", 0:0-0:0 => "#include <math.h>\0A\0A"}), and
- element #3 (Diag at 10:13-10:14 = [variable 'D' is not initialized]) and (is
an object whose given field has 1 element that LSP fix variable 'D' is not
initialized {10:14-10:14 => " = NAN", 0:0-0:0 => "#include <math.h>\0A\0A"})
Actual: { [4:8-4:14] 'A' should be initialized in a member initializer of the
constructor, fixes: {'A' should be initialized in a member initializer of the
constructor {3:11-3:11 => " : A(1)", 4:8-4:14 => ""}}, [5:8-5:14] 'B' should be
initialized in a member initializer of the constructor, fixes: {'B' should be
initialized in a member initializer of the constructor {3:11-3:11 => " : B(1)",
5:8-5:14 => ""}}, [9:12-9:13] variable 'C' is not initialized, fixes: {variable
'C' is not initialized {9:13-9:13 => " = NAN", 0:0-0:0 => "#include
<math.h>\0A\0A"}}, [10:13-10:14] variable 'D' is not initialized, fixes:
{variable 'D' is not initialized {10:14-10:14 => " = NAN", 0:0-0:0 => "#include
<math.h>\0A"}} }, where the following matchers don't match any elements:
matcher #3: (Diag at 10:13-10:14 = [variable 'D' is not initialized]) and (is
an object whose given field has 1 element that LSP fix variable 'D' is not
initialized {10:14-10:14 => " = NAN", 0:0-0:0 => "#include <math.h>\0A\0A"})
and where the following elements don't match any matchers:
element #3: [10:13-10:14] variable 'D' is not initialized, fixes: {variable 'D'
is not initialized {10:14-10:14 => " = NAN", 0:0-0:0 => "#include <math.h>\0A"}}
```
</details>
### Extra Tools Unit Tests
<details>
<summary>Extra Tools Unit
Tests.clang-tidy/_/ClangTidyTests_exe/TransformerClangTidyCheckTest/AddIncludeObeysSortStyleGlobalOption</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\unittests\clang-tidy\.\ClangTidyTests.exe
--gtest_filter=TransformerClangTidyCheckTest.AddIncludeObeysSortStyleGlobalOption
--
C:\_work\llvm-project\llvm-project\clang-tools-extra\unittests\clang-tidy\TransformerClangTidyCheckTest.cpp:383
Expected equality of these values:
TreatsAsLibraryHeader
Which is: "#include \"input.h\"\n\n#include \"bar.h\"\nint h(int x) {
return 5; }"
test::runCheckOnCode<IncludeOrderCheck>( Input, nullptr, "inputTest.cpp", {},
Options, PathsToContent)
Which is: "#include \"bar.h\"\n#include \"input.h\"\nint h(int x) { return
5; }"
With diff:
@@ -1,4 +1,3 @@
-#include \"input.h\"
-
-#include \"bar.h\"
+#include \"bar.h\"
+#include \"input.h\"
int h(int x) { return 5; }
C:\_work\llvm-project\llvm-project\clang-tools-extra\unittests\clang-tidy\TransformerClangTidyCheckTest.cpp:394
Expected equality of these values:
TreatsAsLibraryHeader
Which is: "#include \"input.h\"\n\n#include \"bar.h\"\nint h(int x) {
return 5; }"
test::runCheckOnCode<IncludeOrderCheck>( Input, nullptr, "input_test.cc", {},
Options, PathsToContent)
Which is: "#include \"bar.h\"\n#include \"input.h\"\nint h(int x) { return
5; }"
With diff:
@@ -1,4 +1,3 @@
-#include \"input.h\"
-
-#include \"bar.h\"
+#include \"bar.h\"
+#include \"input.h\"
int h(int x) { return 5; }
```
</details>
<details>
<summary>Extra Tools Unit
Tests.clang-tidy/_/ClangTidyTests_exe/TransformerClangTidyCheckTest/AddIncludeObeysSortStyleLocalOption</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\unittests\clang-tidy\.\ClangTidyTests.exe
--gtest_filter=TransformerClangTidyCheckTest.AddIncludeObeysSortStyleLocalOption
--
C:\_work\llvm-project\llvm-project\clang-tools-extra\unittests\clang-tidy\TransformerClangTidyCheckTest.cpp:351
Expected equality of these values:
TreatsAsLibraryHeader
Which is: "#include \"input.h\"\n\n#include \"bar.h\"\nint h(int x) {
return 5; }"
test::runCheckOnCode<IncludeOrderCheck>( Input, nullptr, "inputTest.cpp", {},
Options, PathsToContent)
Which is: "#include \"bar.h\"\n#include \"input.h\"\nint h(int x) { return
5; }"
With diff:
@@ -1,4 +1,3 @@
-#include \"input.h\"
-
-#include \"bar.h\"
+#include \"bar.h\"
+#include \"input.h\"
int h(int x) { return 5; }
C:\_work\llvm-project\llvm-project\clang-tools-extra\unittests\clang-tidy\TransformerClangTidyCheckTest.cpp:362
Expected equality of these values:
TreatsAsLibraryHeader
Which is: "#include \"input.h\"\n\n#include \"bar.h\"\nint h(int x) {
return 5; }"
test::runCheckOnCode<IncludeOrderCheck>( Input, nullptr, "input_test.cc", {},
Options, PathsToContent)
Which is: "#include \"bar.h\"\n#include \"input.h\"\nint h(int x) { return
5; }"
With diff:
@@ -1,4 +1,3 @@
-#include \"input.h\"
-
-#include \"bar.h\"
+#include \"bar.h\"
+#include \"input.h\"
int h(int x) { return 5; }
```
</details>
If these failures are unrelated to your changes (for example tests are broken
or flaky at HEAD), please open an issue at
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/185879
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits