xref: /llvm-project/llvm/test/tools/llvm-remarkutil/count/filter-by-pass-name.test (revision 0603737ac0f73ff33326d0274b3152cc5a81e1ec)
1RUN: llvm-remarkutil count --parser=yaml --pass-name=generic-remarks-pass %p/Inputs/remark-filter-by.yaml | FileCheck %s
2RUN: llvm-remarkutil count --parser=yaml --rpass-name=.* %p/Inputs/remark-filter-by.yaml | FileCheck %s --check-prefix=CHECKALL
3
4; CHECK-LABEL: Source,Count
5; CHECK: path/to/anno.c,2
6; CHECK: path/to/anno2.c,1
7
8; CHECKALL-LABEL: Source,Count
9; CHECKALL: path/to/anno.c,2
10; CHECKALL: path/to/anno2.c,2
11