Re: [tap] Parse error vs failure

"David E. Wheeler" <david@kineticode.com> Sat, 31 January 2009 22:30 UTC

Return-Path: <tap-bounces@ietf.org>
X-Original-To: tap-archive@ietf.org
Delivered-To: ietfarch-tap-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6E0183A67A1; Sat, 31 Jan 2009 14:30:32 -0800 (PST)
X-Original-To: tap@core3.amsl.com
Delivered-To: tap@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3B7143A6A99 for <tap@core3.amsl.com>; Sat, 31 Jan 2009 14:30:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.735
X-Spam-Level:
X-Spam-Status: No, score=-1.735 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, HOST_MISMATCH_NET=0.311]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qYd2-rZWkEPr for <tap@core3.amsl.com>; Sat, 31 Jan 2009 14:30:30 -0800 (PST)
Received: from smtp.kineticode.com (host-201.commandprompt.net [207.173.203.201]) by core3.amsl.com (Postfix) with ESMTP id 48CFC3A6A30 for <tap@ietf.org>; Sat, 31 Jan 2009 14:30:30 -0800 (PST)
Received: from [192.168.1.100] (c-76-105-135-51.hsd1.or.comcast.net [76.105.135.51]) by smtp.kineticode.com (Postfix) with ESMTPSA id 383CA50805D; Sat, 31 Jan 2009 14:24:38 -0800 (PST)
Message-Id: <8663738C-A8A5-41A9-A065-20BF1C97C2B5@kineticode.com>
From: "David E. Wheeler" <david@kineticode.com>
To: Michael G Schwern <schwern@pobox.com>
In-Reply-To: <4984B200.6060907@pobox.com>
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Sat, 31 Jan 2009 14:30:10 -0800
References: <4984B200.6060907@pobox.com>
X-Mailer: Apple Mail (2.930.3)
Cc: tap@ietf.org
Subject: Re: [tap] Parse error vs failure
X-BeenThere: tap@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Test Anything Protocol WG discussions <tap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tap>, <mailto:tap-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/tap>
List-Post: <mailto:tap@ietf.org>
List-Help: <mailto:tap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tap>, <mailto:tap-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: tap-bounces@ietf.org
Errors-To: tap-bounces@ietf.org

On Jan 31, 2009, at 12:18 PM, Michael G Schwern wrote:

> It complicates the grammar to allow "ok 4 # SKIP" but make "not ok 4  
> # SKIP" a
> syntax error and adds in another special case for the parser.  With  
> "not ok #
> SKIP" as normal syntax the skip directive has no effect on the  
> truthiness of
> the test.
>
> Consensus?  Generally prefer failure-with-warning over parse error  
> for valid
> but sort of nonsense output?

+1

David
_______________________________________________
tap mailing list
tap@ietf.org
https://www.ietf.org/mailman/listinfo/tap