We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5c6005 + 4abee04 commit ec2c548Copy full SHA for ec2c548
llvm/utils/lit/lit/formats/googletest.py
@@ -334,7 +334,11 @@ def remove_gtest(tests):
334
returnCode = lit.Test.SKIPPED
335
elif "failures" in testinfo:
336
has_failure_in_shard = True
337
- returnCode = lit.Test.FAIL
+ returnCode = (
338
+ lit.Test.XFAIL
339
+ if test.isExpectedToFail()
340
+ else lit.Test.FAIL
341
+ )
342
output = header
343
for fail in testinfo["failures"]:
344
output += fail["failure"] + "\n"
0 commit comments