llvm-toolchain/debian/patches/do-not-fail-on-unexpected-pass.diff
2023-05-17 14:02:49 +02:00

14 lines
708 B
Diff

Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/llvm/utils/lit/lit/Test.py
===================================================================
--- llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d.orig/llvm/utils/lit/lit/Test.py
+++ llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/llvm/utils/lit/lit/Test.py
@@ -52,7 +52,7 @@ XFAIL = ResultCode("XFAIL", "Expectedly
UNRESOLVED = ResultCode("UNRESOLVED", "Unresolved", True)
TIMEOUT = ResultCode("TIMEOUT", "Timed Out", True)
FAIL = ResultCode("FAIL", "Failed", True)
-XPASS = ResultCode("XPASS", "Unexpectedly Passed", True)
+XPASS = ResultCode('XPASS', 'Unexpectedly Passed', False)
# Test metric values.