Exclude more lines from test coverage (#1663)

These fall into a few categories:
- `_unreachable()`
- Verbose print messages
- Errors that should never practically occur (alloc/read/write failure,
  more than UINT32_MAX anonymous labels, etc)
This commit is contained in:
Rangi
2025-02-17 04:56:10 -05:00
committed by GitHub
parent 632342b254
commit 0150eb4bf3
10 changed files with 88 additions and 12 deletions

View File

@@ -397,11 +397,15 @@ int main(int argc, char *argv[]) {
is32kMode = true;
break;
case 'V':
// LCOV_EXCL_START
printf("rgblink %s\n", get_package_version_string());
exit(0);
// LCOV_EXCL_STOP
case 'v':
// LCOV_EXCL_START
beVerbose = true;
break;
// LCOV_EXCL_STOP
case 'w':
isWRAM0Mode = true;
break;