[llvm] Add special case for unsupported test (PR #78858)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 20 12:22:28 PST 2024


https://github.com/hiraditya created https://github.com/llvm/llvm-project/pull/78858

That helps disable the test for all the targets

>From dbe196397c4d5bc4d95b04c2710c43e32699de22 Mon Sep 17 00:00:00 2001
From: AdityaK <1894981+hiraditya at users.noreply.github.com>
Date: Sat, 20 Jan 2024 12:17:40 -0800
Subject: [PATCH] Add special case for unsupported test

That helps disable the test for all the targets
---
 llvm/docs/TestingGuide.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
 



More information about the llvm-commits mailing list