[llvm] c74f54f - [UpdateTestChecks] Add requires asserts to tests
Sebastian Neubauer via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 06:29:37 PST 2022
Author: Sebastian Neubauer
Date: 2022-03-01T15:28:42+01:00
New Revision: c74f54f2f4515b6857067ef893fc4d73b14b373e
URL: https://github.com/llvm/llvm-project/commit/c74f54f2f4515b6857067ef893fc4d73b14b373e
DIFF: https://github.com/llvm/llvm-project/commit/c74f54f2f4515b6857067ef893fc4d73b14b373e.diff
LOG: [UpdateTestChecks] Add requires asserts to tests
The tests use debug-only, which is only available in debug mode.
This should fix the failing tests.
Added:
Modified:
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu-isel-support.test
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lanai-isel-support.test
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-isel-support.test
Removed:
################################################################################
diff --git a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu-isel-support.test b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu-isel-support.test
index 3a531a6674b0e..61c4034c21705 100644
--- a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu-isel-support.test
+++ b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu-isel-support.test
@@ -1,3 +1,4 @@
+# REQUIRES: asserts
# REQUIRES: amdgpu-registered-target
## Basic test checking that update_llc_test_checks.py can update a file with isel debug output
diff --git a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lanai-isel-support.test b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lanai-isel-support.test
index ec5341e594e46..945849fc5062f 100644
--- a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lanai-isel-support.test
+++ b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lanai-isel-support.test
@@ -1,3 +1,4 @@
+# REQUIRES: asserts
# REQUIRES: lanai-registered-target
## Basic test checking that update_llc_test_checks.py can update a file with isel debug output
diff --git a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-isel-support.test b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-isel-support.test
index b02c3235d9264..4ae0e73203b7d 100644
--- a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-isel-support.test
+++ b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-isel-support.test
@@ -1,3 +1,4 @@
+# REQUIRES: asserts
# REQUIRES: x86-registered-target
## Basic test checking that update_llc_test_checks.py can update a file with isel debug output
More information about the llvm-commits
mailing list