llvm/llvm/test/tools/llvm-remarkutil/count/filter-by-pass-name.test

RUN: llvm-remarkutil count --parser=yaml --pass-name=generic-remarks-pass %p/Inputs/remark-filter-by.yaml | FileCheck %s
RUN: llvm-remarkutil count --parser=yaml --rpass-name=.* %p/Inputs/remark-filter-by.yaml | FileCheck %s --check-prefix=CHECKALL

; CHECK-LABEL: Source,Count
; CHECK: path/to/anno.c,2
; CHECK: path/to/anno2.c,1

; CHECKALL-LABEL: Source,Count
; CHECKALL: path/to/anno.c,2
; CHECKALL: path/to/anno2.c,2