Yes, thank you!
I'd stumbled across that thread, wasn't sure it would work, but it does (with weird output, though):
Test::Builder->BAILOUT("oh no"); # outputs: # tests_sante_reporting/02-infocentre-sanity.......NOK 1FAILED--Furthe +r testing stopped: oh no # # Looks like you planned 2 tests but only ran 1. Test::Builder->BAILOUT("oh no\n"); # outputs (yes, like this): # # tests_sante_reporting/02-infocentre-sanity.......NOK 1# Looks like + you planned 2 tests but only ran 1. # FAILED--Further testing stopped: oh no Test::Builder->BAILOUT("\noh no\n"); # outputs (yes, also like this): # tests_sante_reporting/02-infocentre-sanity.......NOK 1# Looks like y +ou planned 2 tests but only ran 1. # FAILED--Further testing stopped.
I think I'm going to go with number 1.
In reply to Re^2: BAIL_OUT with older Test::More
by Anonymous Monk
in thread BAIL_OUT with older Test::More
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |