[clang] [clang][test] add testing for the AST matcher reference (PR #94248)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 27 04:42:55 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-win-fast` running on `as-builder-3` while building `clang` at step 8 "test-build-unified-tree-check-clang-unit".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/2/builds/7739
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 8 (test-build-unified-tree-check-clang-unit) failure: test (failure)
...
[37/314] Building CXX object tools\clang\unittests\Lex\CMakeFiles\LexTests.dir\PPDependencyDirectivesTest.cpp.obj
[38/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\CommentLexer.cpp.obj
[39/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\CommentTextTest.cpp.obj
[40/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ASTVectorTest.cpp.obj
[41/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\CommentParser.cpp.obj
[42/314] Building CXX object tools\clang\lib\Testing\CMakeFiles\clangTesting.dir\TestAST.cpp.obj
[43/314] Linking CXX static library lib\clangTesting.lib
[44/314] Building CXX object tools\clang\unittests\Driver\CMakeFiles\ClangDriverTests.dir\ToolChainTest.cpp.obj
[45/314] Building CXX object tools\clang\unittests\Driver\CMakeFiles\ClangDriverTests.dir\DXCModeTest.cpp.obj
[46/314] Generating ASTMatchersDocTests.cpp
FAILED: tools/clang/unittests/ASTMatchers/ASTMatchersDocTests.cpp C:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/build/tools/clang/unittests/ASTMatchers/ASTMatchersDocTests.cpp
cmd.exe /C "cd /D C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\tools\clang\unittests\ASTMatchers && C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\clang\utils\generate_ast_matcher_doc_tests.py --input-file C:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/llvm-project/clang/include/clang/ASTMatchers/ASTMatchers.h --output-file C:/buildbot/as-builder-3/llvm-clang-x86_64-win-fast/build/tools/clang/unittests/ASTMatchers/ASTMatchersDocTests.cpp"
Traceback (most recent call last):
File "C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\clang\utils\generate_ast_matcher_doc_tests.py", line 94, in <module>
statistics = defaultdict[str, int](int)
TypeError: 'type' object is not subscriptable
[47/314] Linking CXX executable tools\clang\unittests\Basic\BasicTests.exe
[48/314] Building CXX object tools\clang\unittests\Analysis\CMakeFiles\ClangAnalysisTests.dir\CloneDetectionTest.cpp.obj
[49/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\APSIntTypeTest.cpp.obj
[50/314] Building CXX object tools\clang\unittests\Lex\CMakeFiles\LexTests.dir\PPCallbacksTest.cpp.obj
[51/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\RangeSetTest.cpp.obj
[52/314] Building CXX object tools\clang\unittests\Analysis\CMakeFiles\ClangAnalysisTests.dir\MacroExpansionContextTest.cpp.obj
[53/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\ExprEngineVisitTest.cpp.obj
[54/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\NoStateChangeFuncVisitorTest.cpp.obj
[55/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\CallEventTest.cpp.obj
[56/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\ConflictingEvalCallsTest.cpp.obj
[57/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\TestReturnValueUnderConstruction.cpp.obj
[58/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\MemRegionDescriptiveNameTest.cpp.obj
[59/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\RegisterCustomCheckersTest.cpp.obj
[60/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\SValTest.cpp.obj
[61/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\EvaluateAsRValueTest.cpp.obj
[62/314] Linking CXX executable tools\clang\unittests\Driver\ClangDriverTests.exe
[63/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ASTImporterFixtures.cpp.obj
[64/314] Building CXX object tools\clang\unittests\ASTMatchers\Dynamic\CMakeFiles\DynamicASTMatchersTests.dir\RegistryTest.cpp.obj
[65/314] Building CXX object tools\clang\unittests\ASTMatchers\Dynamic\CMakeFiles\DynamicASTMatchersTests.dir\ParserTest.cpp.obj
[66/314] Building CXX object tools\clang\unittests\Analysis\FlowSensitive\CMakeFiles\ClangAnalysisFlowSensitiveTests.dir\MapLatticeTest.cpp.obj
[67/314] Building CXX object tools\clang\unittests\Analysis\FlowSensitive\CMakeFiles\ClangAnalysisFlowSensitiveTests.dir\ChromiumCheckModelTest.cpp.obj
[68/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ASTExprTest.cpp.obj
[69/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ASTContextParentMapTest.cpp.obj
[70/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\IsCLibraryFunctionTest.cpp.obj
[71/314] Building CXX object tools\clang\unittests\Analysis\FlowSensitive\CMakeFiles\ClangAnalysisFlowSensitiveTests.dir\ASTOpsTest.cpp.obj
[72/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\DeclBaseTest.cpp.obj
[73/314] Building CXX object tools\clang\unittests\Analysis\FlowSensitive\CMakeFiles\ClangAnalysisFlowSensitiveTests.dir\RecordOpsTest.cpp.obj
[74/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ConceptPrinterTest.cpp.obj
[75/314] Building CXX object tools\clang\unittests\Analysis\CMakeFiles\ClangAnalysisTests.dir\CFGDominatorTree.cpp.obj
[76/314] Building CXX object tools\clang\unittests\StaticAnalyzer\CMakeFiles\StaticAnalysisTests.dir\BugReportInterestingnessTest.cpp.obj
[77/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ASTTypeTraitsTest.cpp.obj
[78/314] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ASTImporterObjCTest.cpp.obj
[79/314] Building CXX object tools\clang\unittests\ASTMatchers\Dynamic\CMakeFiles\DynamicASTMatchersTests.dir\VariantValueTest.cpp.obj
```
</details>
https://github.com/llvm/llvm-project/pull/94248
More information about the cfe-commits
mailing list