GNU bug report logs - #20715
tap-driver.sh 'missing test plan' message contradicts the TAP Standard

Previous Next

Package: automake;

Reported by: "Arthur Schwarz" <aschwarz1309 <at> att.net>

Date: Mon, 1 Jun 2015 21:47:02 UTC

Severity: normal

Full log


Message #23 received at 20715 <at> debbugs.gnu.org (full text, mbox):

From: Nick Bowler <nbowler <at> elliptictech.com>
To: Arthur Schwarz <aschwarz1309 <at> att.net>
Cc: 20715 <at> debbugs.gnu.org
Subject: Re: bug#20715: tap-driver.sh 'missing test plan' message contradicts
 the TAP Standard
Date: Wed, 3 Jun 2015 10:25:13 -0400
On 2015-06-02 11:08 -0700, Arthur Schwarz wrote:
> [Nick Bowler wrote]
> > On 2015-06-02 09:40 -0700, Arthur Schwarz wrote:
> > > The TAP Standard specifically states that if the test plan is 1..N
> > > and the number of test lines are k < N, then the k+1 .. N missing
> > > test lines are to be considered as skipped.
> > 
> > Where does it say that?  It is not correct to treat missing test results
> > as skips.
> 
> From  http://testanything.org/tap-version-13-specification.html
[...]
> The following listing plans on running 5 tests. However, our program
> decided to not run tests 2 thru 5 at all. To properly report this, the
> tests are marked as being skipped.
> 
>    TAP version 13
>    1..5
>    ok 1 - approved operating system
>    # $^0 is solaris
>    ok 2 - # SKIP no /sys directory
>    ok 3 - # SKIP no /sys directory
>    ok 4 - # SKIP no /sys directory
>    ok 5 - # SKIP no /sys directory

This example has exactly 5 test lines, which matches the plan of 5.
So there is no error.

[...]
> TAP allows k < N (see above).

It does not.

Regards,
-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)




This bug report was last modified 10 years and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.