This option makes runtest's exit status !0 on any failure in any test.
(Useful in -c mode and git-bisect)
'valgrind' => \$valgrind,
'range=s{2}' => \my @range_wanted,
'test=i@' => \my @tests_wanted,
'valgrind' => \$valgrind,
'range=s{2}' => \my @range_wanted,
'test=i@' => \my @tests_wanted,
+ 'fail-any!' => \my $fail_any,
'flavor|flavour=s' => \$flavour,
'help' => sub { pod2usage(-exit => 0) },
'man' => sub {
'flavor|flavour=s' => \$flavour,
'help' => sub { pod2usage(-exit => 0) },
'man' => sub {
##################################################
tests_exit(-1, "No runnable tests selected") if not @test_list;
##################################################
tests_exit(-1, "No runnable tests selected") if not @test_list;
+tests_exit($fail_any ? $failures : 0);