================
@@ -1063,7 +1070,10 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
if res == -signal.SIGINT:
raise KeyboardInterrupt
if proc_not_counts[i] % 2:
- res = 1 if res == 0 else 0
+ if proc_not_fail_if_crash[i]:
+ res = 1 if res <= 0 else 0
----------------
boomanaiden154 wrote:
Yeah, reasoning about a bool->int conversion is easier to me than trying to
figure out the if statement. Updated.
https://github.com/llvm/llvm-project/pull/174298
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits