Commit 3f50209
committed
Merge rust-bitcoin#5094: Add excludes for new mutants
8da0bec Add mutation exclude for timeouts (Jamil Lambert, PhD)
90ce314 Add mutation excludes for impl encoding::Decoder (Jamil Lambert, PhD)
d4b8d6c Make mutation testing exclude more specific (Jamil Lambert, PhD)
Pull request description:
New mutants were found in the weekly mutation testing. One set is from a function that is for optimization and testing it is unnecessary, the other causes a timeout by changing the return of functions which are used in testing to exit loops.
- Edit an existing exclude to make it more specific and only exclude the needed function.
- Exclude the optimization functions `min_bytes_needed`.
- Exclude the `WitnessEncoder` functions that cause an infinite loop in mutation testing.
Closes rust-bitcoin#5088
ACKs for top commit:
apoelstra:
ACK 8da0bec; successfully ran local tests
tcharding:
ACK 8da0bec
Tree-SHA512: 8077157d29397a1b0f05bd29c1030086e0dfe3a0fca2d6252b1173cd9f99b49f425457638f1ec68931d4e24973a79b212bd150186d391aa3907d82debff040651 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
0 commit comments