Commit deb5af9
committed
tests: don't fail check-fuzz-harnesses on an absent corpus
The guard required tests/fuzz/corpus/<name>/ to exist for each harness, and
.gitignore excludes that directory — deliberately, since it holds hundreds of
SHA-named files libFuzzer generates. So the check could only pass on a machine
that had already fuzzed, and had to fail on every fresh checkout: green here,
red in CI, on untracked local state.
The corpus pairing is now reported rather than enforced, the same way the guard
already treats a missing sanitizer toolchain — loudly, so it reads as unchecked
rather than as clean. What it still gates on is the part a checkout can
actually verify, and the reason it exists: that the harnesses build and link
against the tree, after five of six had silently stopped compiling.1 parent ce210d9 commit deb5af9
1 file changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
90 | 96 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
94 | 100 | | |
95 | | - | |
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| |||
127 | 132 | | |
128 | 133 | | |
129 | 134 | | |
130 | | - | |
131 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
132 | 140 | | |
0 commit comments