bowtie-json-schema/bowtie
View on GitHubUncaught harness errors should cause non-zero exit statuses
Open
#809 opened on Feb 4, 2024
good first issue
Repository metrics
- Stars
- (90 stars)
- PR merge metrics
- (PR metrics pending)
Description
A bowtie suite or bowtie run execution treats test failures by still exiting with 0 exit code, as failures are part of Bowtie's "normal behavior" as a compliance checker.
However -- errors, particularly uncaught errors which should be being handled in the harness, are not, and should likely trigger nonzero exit status.
Note that as part of fixing this you may also need to check whether any existing harnesses have uncaught errors (and to catch them if so) -- otherwise Bowtie's own report generation will begin to fail.