Test::Builder->BAILOUT("oh no"); # outputs: # tests_sante_reporting/02-infocentre-sanity.......NOK 1FAILED--Further 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 you planned 2 tests but only ran 1. # FAILED--Further testing stopped.