[llvm] Add LIT_UNSUPPORTED support to lit testing (PR #193766)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 00:38:28 PDT 2026


================
@@ -464,6 +464,20 @@ def parse_args():
         default=False,
         action="store_true",
     )
+    selection_group.add_argument(
+        "--unsupported",
+        metavar="LIST",
+        type=_semicolon_list,
+        help="UNSUPPORTED tests with paths in the semicolon separated list",
+        default=os.environ.get("LIT_UNSUPPORTED", ""),
+    )
+    selection_group.add_argument(
+        "--unsupported-not",
+        metavar="LIST",
+        type=_semicolon_list,
+        help="do not UNSUPPORTED tests with paths in the semicolon separated list",
----------------
jh7370 wrote:

Similarly: "Do not mark tests with paths in the semicolon separated list as UNSUPPORTED"

https://github.com/llvm/llvm-project/pull/193766


More information about the llvm-commits mailing list