[llvm] 5377fa7 - [doc] Add special case for unsupported test (#78858)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 10:12:38 PST 2024
Author: AdityaK
Date: 2024-01-25T10:12:33-08:00
New Revision: 5377fa72ceff28593cdeec16bfa97c31aa145623
URL: https://github.com/llvm/llvm-project/commit/5377fa72ceff28593cdeec16bfa97c31aa145623
DIFF: https://github.com/llvm/llvm-project/commit/5377fa72ceff28593cdeec16bfa97c31aa145623.diff
LOG: [doc] Add special case for unsupported test (#78858)
That helps disable the test for all the targets
Added:
Modified:
llvm/docs/TestingGuide.rst
Removed:
################################################################################
diff --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst
index a692e301fa2c41f..e32e4d1e535abb7 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.
+Use, ``XFAIL: *`` if the test is expected to fail everywhere. Similarly, use
+``UNSUPPORTED: target={{.*}}`` to disable the test everywhere.
.. code-block:: llvm
More information about the llvm-commits
mailing list