[Mlir-commits] [mlir] c5c9b01 - [mlir] Add REQUIRES: asserts to test that uses -debug-only
Benjamin Kramer
llvmlistbot at llvm.org
Fri Mar 31 02:03:24 PDT 2023
Author: Benjamin Kramer
Date: 2023-03-31T11:02:42+02:00
New Revision: c5c9b01e74bb42b88d2f3df0168652c96dfe0f0e
URL: https://github.com/llvm/llvm-project/commit/c5c9b01e74bb42b88d2f3df0168652c96dfe0f0e
DIFF: https://github.com/llvm/llvm-project/commit/c5c9b01e74bb42b88d2f3df0168652c96dfe0f0e.diff
LOG: [mlir] Add REQUIRES: asserts to test that uses -debug-only
That flag only exists when assertions are enabled.
Added:
Modified:
mlir/test/mlir-cpu-runner/verify-flags.mlir
Removed:
################################################################################
diff --git a/mlir/test/mlir-cpu-runner/verify-flags.mlir b/mlir/test/mlir-cpu-runner/verify-flags.mlir
index 87881225c094b..850179af3c945 100644
--- a/mlir/test/mlir-cpu-runner/verify-flags.mlir
+++ b/mlir/test/mlir-cpu-runner/verify-flags.mlir
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
// RUN: mlir-cpu-runner %s --debug-only=jit-runner -mattr=+foo_bar -e entry -entry-point-result=void 2>&1 | FileCheck %s --check-prefixes=MATTR
// RUN: not mlir-cpu-runner %s --debug-only=jit-runner -march=bar_foo -e entry -entry-point-result=void 2>&1 | FileCheck %s --check-prefixes=MARCH
More information about the Mlir-commits
mailing list