Skip to content

[NFC] Add REQUIRES: asserts to limit the test to debug only. #83145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

python3kgae
Copy link
Contributor

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Feb 27, 2024

@llvm/pr-subscribers-mlir-llvm

Author: Xiang Li (python3kgae)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/83145.diff

1 Files Affected:

  • (modified) mlir/test/Target/LLVMIR/erase-dangling-constants.mlir (+1)
diff --git a/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir b/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir
index b3b5d540ae88fc..dbb67559560031 100644
--- a/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir
+++ b/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
 // RUN: mlir-translate -mlir-to-llvmir %s -debug-only=llvm-dialect-to-llvm-ir 2>&1 | FileCheck %s
 
 // CHECK: Convert initializer for dup_const

@llvmbot
Copy link
Member

llvmbot commented Feb 27, 2024

@llvm/pr-subscribers-mlir

Author: Xiang Li (python3kgae)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/83145.diff

1 Files Affected:

  • (modified) mlir/test/Target/LLVMIR/erase-dangling-constants.mlir (+1)
diff --git a/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir b/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir
index b3b5d540ae88fc..dbb67559560031 100644
--- a/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir
+++ b/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
 // RUN: mlir-translate -mlir-to-llvmir %s -debug-only=llvm-dialect-to-llvm-ir 2>&1 | FileCheck %s
 
 // CHECK: Convert initializer for dup_const

@python3kgae python3kgae requested a review from metaflow February 27, 2024 17:57
@python3kgae python3kgae changed the title Add REQUIRES: asserts to limit the test to debug only. [NFC] Add REQUIRES: asserts to limit the test to debug only. Feb 27, 2024
@python3kgae python3kgae merged commit f4fad82 into llvm:main Feb 27, 2024
@python3kgae python3kgae deleted the limit_test branch February 27, 2024 18:00
@@ -1,3 +1,4 @@
// REQUIRES: asserts
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe we test on --debug output. I would rather remove this test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing with PR #83189

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants