bowtie-json-schema/bowtie

Uncaught harness errors should cause non-zero exit statuses

Open

#809 aperta il 4 feb 2024

Vedi su GitHub
 (19 commenti) (0 reazioni) (0 assegnatari)Python (76 fork)github user discovery
good first issue

Metriche repository

Star
 (90 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor