X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=blobdiff_plain;f=selftest%2Fformat-subunit.pl;h=77e4b34f3820366df698a767359cdde58ec83769;hp=c60902f8d755ac028bdec1ee50033b196d792a6e;hb=2e311fdac56f43998bb192418f617e6e7a6fc320;hpb=24f01e70aaefb390d081bcd8cec6cd42282430b4 diff --git a/selftest/format-subunit.pl b/selftest/format-subunit.pl index c60902f8d75..77e4b34f382 100755 --- a/selftest/format-subunit.pl +++ b/selftest/format-subunit.pl @@ -3,6 +3,38 @@ # Copyright (C) Jelmer Vernooij # Published under the GNU GPL, v3 or later +=pod + +=head1 NAME + +format-subunit [--format=] [--immediate] < instream > outstream + +=head1 SYNOPSIS + +Format the output of a subunit stream. + +=head1 OPTIONS + +=over 4 + +=item I<--immediate> + +Show errors as soon as they happen rather than at the end of the test run. + +=item I<--format>=FORMAT + +Choose the format to print. Currently supported are plain, html or buildfarm. + +=head1 LICENSE + +GNU General Public License, version 3 or later. + +=head1 AUTHOR + +Jelmer Vernooij + +=cut + use Getopt::Long; use strict; use FindBin qw($RealBin $Script); @@ -60,8 +92,7 @@ if ($opt_format eq "buildfarm") { die("Invalid output format '$opt_format'"); } -my $expected_ret = parse_results( - $msg_ops, $statistics, *STDIN, []); +my $expected_ret = parse_results($msg_ops, $statistics, *STDIN); $msg_ops->summary();