diff --git a/mlir/test/mlir-opt/debugcounter.mlir b/mlir/test/mlir-opt/debugcounter.mlir --- a/mlir/test/mlir-opt/debugcounter.mlir +++ b/mlir/test/mlir-opt/debugcounter.mlir @@ -1,15 +1,16 @@ -// This test exercise the example in docs/ActionTracing.md ; changes here should -// probably be reflected there. +// This test exercises the example in docs/ActionTracing.md ; changes here +// should probably be reflected there. -// RUN: mlir-opt %s -mlir-debug-counter=unique-tag-for-my-action-skip=-1 -mlir-print-debug-counter --pass-pipeline="builtin.module(func.func(canonicalize))" --mlir-disable-threading 2>&1 | FileCheck %s --check-prefix=CHECK-UKNOWN-TAG +// REQUIRES: asserts +// RUN: mlir-opt %s -mlir-debug-counter=unique-tag-for-my-action-skip=-1 -mlir-print-debug-counter --pass-pipeline="builtin.module(func.func(canonicalize))" --mlir-disable-threading 2>&1 | FileCheck %s --check-prefix=CHECK-UNKNOWN-TAG // RUN: mlir-opt %s -mlir-debug-counter=pass-execution-skip=1 -mlir-print-debug-counter --pass-pipeline="builtin.module(func.func(canonicalize))" --mlir-disable-threading 2>&1 | FileCheck %s --check-prefix=CHECK-PASS func.func @foo() { return } -// CHECK-UKNOWN-TAG: DebugCounter counters: -// CHECK-UKNOWN-TAG: unique-tag-for-my-action : {0,-1,-1} +// CHECK-UNKNOWN-TAG: DebugCounter counters: +// CHECK-UNKNOWN-TAG: unique-tag-for-my-action : {0,-1,-1} // CHECK-PASS: DebugCounter counters: // CHECK-PASS: pass-execution : {1,1,-1}