From 16a69f358a38c60577e25bc0811a220f8e71d2cd Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 4 Jun 2009 13:49:11 +0200 Subject: selftest: Use external processes for filtering known failures and pretty formatting. --- selftest/format-subunit.pl | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'selftest/format-subunit.pl') diff --git a/selftest/format-subunit.pl b/selftest/format-subunit.pl index c60902f8d7..acaac697aa 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(); -- cgit