brintos

brintos / llvm-project-archived public Read only

0
0
Text · 752 B · 325271e Raw
18 lines · plain
1// RUN: mlir-opt %s --test-remark --remarks-filter="category.*" --remark-policy=final 2>&1 | FileCheck %s 2// RUN: mlir-opt %s --test-remark --remarks-filter="category.*" --remark-policy=final --remark-format=yaml --remarks-output-file=%t.yaml3// RUN: FileCheck --check-prefix=CHECK-YAML %s < %t.yaml4module @foo {5  "test.op"() : () -> ()6  7}8 9// CHECK-YAML-NOT: This is a test passed remark (should be dropped)10// CHECK-YAML-DAG: !Analysis11// CHECK-YAML-DAG: !Failure12// CHECK-YAML-DAG: !Passed13 14// CHECK-NOT: This is a test passed remark (should be dropped)15// CHECK-DAG: remark: [Analysis] test-remark16// CHECK-DAG: remark: [Failure] test-remark | Category:category-2-failed17// CHECK-DAG: remark: [Passed] test-remark | Category:category-1-passed18