[llvm] [lit] Support wildcard in --xfail-not option (PR #151191)
Joel E. Denny via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 31 09:13:41 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:
What happens for `XFAIL: foo` where `foo` is not true for the current platform, so the test is expected to pass? Doesn't this still skip it? I think `test.isExpectedToFail` is needed.
https://github.com/llvm/llvm-project/pull/151191
More information about the llvm-commits
mailing list