| #
c83f7def |
| 17-Jun-2022 |
rillig <rillig@NetBSD.org> |
tests/lint: make 'expect+-' comments stricter
Previously, the expectations from these comments were already satisfied if the expectation occurred somewhere in the actual message from lint. This mean
tests/lint: make 'expect+-' comments stricter
Previously, the expectations from these comments were already satisfied if the expectation occurred somewhere in the actual message from lint. This meant that the prefix 'error:' or 'warning:' could be omitted from the 'expect' comment. These omissions were hard to see in a manual review. Now any omissions must be visually marked with '...'.
The test msg_342 now reports its messages properly as being in the file msg_342.c, rather than msg_341.c. This had been a copy-and-paste mistake.
show more ...
|
| #
f450420d |
| 25-Jul-2021 |
rillig <rillig@NetBSD.org> |
tests/lint: test parse errors in statements
These errors are really unrealistic. Most parse errors that occur in statements are already handled elsewhere and continue with the next semicolon.
The
tests/lint: test parse errors in statements
These errors are really unrealistic. Most parse errors that occur in statements are already handled elsewhere and continue with the next semicolon.
The tests had to be split into two separate files because lint assumes that after the 5th parse error, it does not make sense to continue this translation unit.
show more ...
|