[tap-l] Outputting TAP from the shell

Jeremiah C. Foster jeremiah.foster at ericsson.com
Thu Mar 20 14:07:05 UTC 2008


On Thu, 2008-03-20 at 06:30 -0700, Ovid wrote:
> --- "Jeremiah C. Foster" <jeremiah.foster at ericsson.com> wrote:
> 
> what do I have to pass to TAP::Parser::Aggregator so that
> > I
> > can get an aggregate of passed and failed tests?
> > 
> > 	Here is a sample of my output:
> > 
> > 080319 2008 007.02.sh:    ok 1 - linux-logtest.x86_64.rpm on
> > 192.168.0.5
> > 080319 2008 007.02.sh:    ok 2 - linux-logtest.x86_64.rpm to
> > 192.168.0.5
> > 080319 2008 007.02.sh:    FAIL 3 - linux-logtest.x86_64.rpm not
> > moved!
> > 080319 2008 007.02.sh:    ok 4 - linux-logtest.x86_64.rpm on
> > 192.168.0.5
> > Passed: 0
> > Failed: 0
> > 
> > 
> > As you can see, I can output fail and ok, but it does not get
> > aggregated. Any pointers welcome!
> 
> The ok/not ok bit must be at the start of each line (also note that I
> have 'not ok' instead of 'FAIL'):
> 
> ok 1 - linux-logtest.x86_64.rpm on 192.168.0.5
> ok 2 - linux-logtest.x86_64.rpm to 192.168.0.5
> not ok 3 - linux-logtest.x86_64.rpm not moved!
> ok 4 - linux-logtest.x86_64.rpm on 192.168.0.5

Thanks Ovid! That worked like a charm.
	
  Jeremiah



More information about the tap-l mailing list