Commit 46c1060
committed
Fix return code normalization to only apply to system header errors
Only normalize exit code 1 to 0 when:
1. System header errors were detected and filtered
2. Result is empty and expected is also empty
This preserves correct return codes for tests with actual errors (err.c).1 parent c8bcd4e commit 46c1060
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
518 | 519 | | |
519 | 520 | | |
520 | 521 | | |
| |||
0 commit comments