[llvm] Add special case for unsupported test (PR #78858)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 20 12:22:59 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-testing-tools
Author: AdityaK (hiraditya)
<details>
<summary>Changes</summary>
That helps disable the test for all the targets
---
Full diff: https://github.com/llvm/llvm-project/pull/78858.diff
1 Files Affected:
- (modified) llvm/docs/TestingGuide.rst (+2-1)
``````````diff
diff --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst
index a692e301fa2c41..802cb8d2e6db04 100644
--- a/llvm/docs/TestingGuide.rst
+++ b/llvm/docs/TestingGuide.rst
@@ -568,7 +568,8 @@ list of boolean expressions. The values in each expression may be:
| ``UNSUPPORTED`` disables the test if any expression is true.
| ``XFAIL`` expects the test to fail if any expression is true.
-As a special case, ``XFAIL: *`` is expected to fail everywhere.
+As a special case, ``XFAIL: *`` is expected to fail everywhere. Similarly,
+``UNSUPPORTED: target={{.*}}`` will disable the test everywhere.
.. code-block:: llvm
``````````
</details>
https://github.com/llvm/llvm-project/pull/78858
More information about the llvm-commits
mailing list