subunit: non-zero exit code if one or more testsuites failed.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 12 Jun 2009 15:53:46 +0000 (17:53 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 12 Jun 2009 15:54:47 +0000 (17:54 +0200)
selftest/filter-subunit.pl

index 5a2e5e38ef0af4f7bdb01bc1eecbb45d7927b0fc..9ebc67778f4dc54021db6c0fe54e6b3368dd5df6 100755 (executable)
@@ -94,6 +94,4 @@ my $statistics = {
 my $msg_ops = new Subunit::Filter($opt_prefix, \@expected_failures, 
                                      $opt_strip_ok_output);
 
-parse_results($msg_ops, $statistics, *STDIN);
-
-0;
+exit(parse_results($msg_ops, $statistics, *STDIN));