GNU logs - #16588, boring messages


Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16588: TAP driver fails with DOS line endings
Resent-From: Nick Bowler <nbowler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-automake@HIDDEN
Resent-Date: Wed, 29 Jan 2014 16:43:01 +0000
Resent-Message-ID: <handler.16588.B.139101373612549 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 16588
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: 16588 <at> debbugs.gnu.org
X-Debbugs-Original-To: <bug-automake@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.139101373612549
          (code B ref -1); Wed, 29 Jan 2014 16:43:01 +0000
Received: (at submit) by debbugs.gnu.org; 29 Jan 2014 16:42:16 +0000
Received: from localhost ([127.0.0.1]:40476 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1W8YDP-0003GK-QL
	for submit <at> debbugs.gnu.org; Wed, 29 Jan 2014 11:42:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38214)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <nbowler@HIDDEN>) id 1W8YDM-0003GB-Us
 for submit <at> debbugs.gnu.org; Wed, 29 Jan 2014 11:42:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nbowler@HIDDEN>) id 1W8YDG-0007Fx-Lw
 for submit <at> debbugs.gnu.org; Wed, 29 Jan 2014 11:42:12 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56576)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nbowler@HIDDEN>) id 1W8YDG-0007Ft-J3
 for submit <at> debbugs.gnu.org; Wed, 29 Jan 2014 11:42:06 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39877)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nbowler@HIDDEN>) id 1W8YDB-0003Pn-5G
 for bug-automake@HIDDEN; Wed, 29 Jan 2014 11:42:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nbowler@HIDDEN>) id 1W8YD4-00079e-Tn
 for bug-automake@HIDDEN; Wed, 29 Jan 2014 11:42:01 -0500
Received: from mx4.gridway.net ([72.1.205.246]:46752)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nbowler@HIDDEN>) id 1W8YD4-00078q-Nn
 for bug-automake@HIDDEN; Wed, 29 Jan 2014 11:41:54 -0500
Received: from delivery.mygridway.net (delivery.mygridway.net [72.1.205.180])
 by mx4.gridway.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id
 s0TGfran022607
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT)
 for <bug-automake@HIDDEN>; Wed, 29 Jan 2014 11:41:53 -0500
Received: from mail.ellipticsemi.com (209.217.122.41) by
 delivery.mygridway.net (172.17.12.4) with Microsoft SMTP Server (TLS) id
 14.2.347.0; Wed, 29 Jan 2014 11:41:53 -0500
Date: Wed, 29 Jan 2014 11:41:52 -0500
From: Nick Bowler <nbowler@HIDDEN>
Message-ID: <20140129164152.GA10268@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Organization: Elliptic Technologies Inc.
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Originating-IP: [209.217.122.41]
X-CanIt-Geo: ip=72.1.205.180; country=CA; region=ON; city=Ottawa;
 latitude=45.4167; longitude=-75.7000;
 http://maps.google.com/maps?q=45.4167,-75.7000&z=6
X-CanItPRO-Stream: base:outbound (inherits from base:default)
X-Canit-Stats-ID: Bayes signature not available
X-Scanned-By: CanIt (www . roaringpenguin . com) on 72.1.205.246
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.9 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Hi,

I'm using Automake's TAP support for one of my test suites.  One of my
test cases is a TAP producer written in C.  This is causing me troubles
because, when building for a DOS-based system such as w32, the test case
produces ASCII CR+LF line endings.  Automake's TAP driver complains that
there is no plan, even though there is one on the first line -- curiously,
it does print the PASS results.

In case it matters, I am cross-building the test case from a GNU
system using i486-pc-mingw32-gcc and the test suite runs the resulting
program in wine.  So in this case Automake's TAP driver is running on
the build (GNU) system.

I have not been able to find a formal specification[1] of TAP, so I'm
unsure how line endings are supposed to be treated.  Nevertheless, the
"prove" utility included with perl works fine with DOS line endings.

So it would be nice if the tests passed when TAP producers emit DOS line
endings.

Here's an example which can be run on a POSIX-ey system:

  % cat >test.tap <<'EOF'
printf '1..1\xd\xaok 1\xd\xa'
EOF

  % prove --exec /bin/sh test.tap
test.tap .. ok   
All tests successful.
Files=1, Tests=1,  0 wallclock secs ( 0.03 usr +  0.00 sys =  0.03 CPU)
Result: PASS

  % automake/lib/tap-driver.sh --test-name test.tap --log-file test.log --trs-file test.trs -- /bin/sh test.tap
PASS: test.tap 1 
ERROR: test.tap - missing test plan

[1] There's a section[2] in the Automake manual "Links and external
    resources on TAP" but most of the relevant-looking links don't
    appear to work anymore.  In particular http://testanything.org
    has been down for maintenance until "tomorrow" for some time
    now.

[2] https://gnu.org/software/automake/manual/automake.html#Links-and-external-resources-on-TAP

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




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Nick Bowler <nbowler@HIDDEN>
Subject: bug#16588: Acknowledgement (TAP driver fails with DOS line endings)
Message-ID: <handler.16588.B.139101373612549.ack <at> debbugs.gnu.org>
References: <20140129164152.GA10268@HIDDEN>
X-Gnu-PR-Message: ack 16588
X-Gnu-PR-Package: automake
Reply-To: 16588 <at> debbugs.gnu.org
Date: Wed, 29 Jan 2014 16:43:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-automake@HIDDEN

If you wish to submit further information on this problem, please
send it to 16588 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
16588: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16588
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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