[llvm] [lit] Optionally exclude xfail tests (PR #151191)

Joel E. Denny via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 10:47:12 PDT 2025


================
@@ -2175,6 +2175,8 @@ def parseIntegratedTestScript(test, additional_parsers=[], require_script=True):
     assert parsed["DEFINE:"] == script
     assert parsed["REDEFINE:"] == script
     test.xfails += parsed["XFAIL:"] or []
+    if test.xfails and test.skip_xfail:
----------------
jdenny-ornl wrote:

Yeah, that seems reasonable to me.  `--xfail-not` ignores the XFAIL mark for all purposes.

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


More information about the llvm-commits mailing list