X-Loop: help-debbugs@HIDDEN Subject: bug#9231: Use of TAP in Automake's own testsuite: avoid NIH Resent-From: Stefano Lattarini <stefano.lattarini@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 03 Aug 2011 20:15:02 +0000 Resent-Message-ID: <handler.9231.B.131240249922235 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 9231 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 9231 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-automake@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.131240249922235 (code B ref -1); Wed, 03 Aug 2011 20:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Aug 2011 20:14:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1QohqE-0005ma-IJ for submit <at> debbugs.gnu.org; Wed, 03 Aug 2011 16:14:58 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <stefano.lattarini@HIDDEN>) id 1QohqC-0005mT-AD for submit <at> debbugs.gnu.org; Wed, 03 Aug 2011 16:14:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1Qohpc-0005lA-5e for submit <at> debbugs.gnu.org; Wed, 03 Aug 2011 16:14:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:37446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1Qohpc-0005kz-0S for submit <at> debbugs.gnu.org; Wed, 03 Aug 2011 16:14:20 -0400 Received: from eggs.gnu.org ([140.186.70.92]:54451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1Qohpa-0003Eq-N0 for bug-automake@HIDDEN; Wed, 03 Aug 2011 16:14:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1QohpZ-0005jW-Bl for bug-automake@HIDDEN; Wed, 03 Aug 2011 16:14:18 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:41829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <stefano.lattarini@HIDDEN>) id 1QohpZ-0005jF-46 for bug-automake@HIDDEN; Wed, 03 Aug 2011 16:14:17 -0400 Received: by wwf22 with SMTP id 22so970987wwf.30 for <bug-automake@HIDDEN>; Wed, 03 Aug 2011 13:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=+Imz/V1UxpbHn2ocmLTyYHyhN8zIme4NMLQaUZepOTA=; b=xrPkSwoe404TkZasqbxQI+d0bUWC5HBZNJZo0sNLfpVpM2LaX79MDOMdBeSTO438AO X5YUzY7aQcjTf2ZoW8gP0WVNcVG4kHmxPnFYN1+0oSoRZx9UlWNstneKiihT9b7pPHb2 frYcu8QrfmPCrfhE5YRRhtZiC3etIx0ySTaec= Received: by 10.216.69.130 with SMTP id n2mr3247062wed.53.1312402455339; Wed, 03 Aug 2011 13:14:15 -0700 (PDT) Received: from bigio.localnet (host21-92-dynamic.9-87-r.retail.telecomitalia.it [87.9.92.21]) by mx.google.com with ESMTPS id w45sm768886wec.24.2011.08.03.13.14.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Aug 2011 13:14:14 -0700 (PDT) From: Stefano Lattarini <stefano.lattarini@HIDDEN> Date: Wed, 3 Aug 2011 22:14:05 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201108032214.05946.stefano.lattarini@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 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> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.9 (-----) Severity: wishlist OK, I gotta admit that the shell-oriented "TAP library" I've introduced in the 'test-protocols' branch[*] is probably one of worst example of the NIH syndrome *ever*. It's mostly OK for the simple uses I've put it to for the moment, but I can see that, if mismanaged, it could either remain brittle and inadequate (and force us to write more convoluted, indirected tests), or, on the other hand, become another complex package-in-a-package maintainance nightmare. [*] See commit `v1.11-920-gc349db0' "testsuite: scaffolding to allow use of TAP in our own tests": <https://lists.gnu.org/archive/html/automake-patches/2011-08/msg00015.html> We should fix this creeping NIH-ness in the future, taking inspiration from pre-existing, real-world TAP generators implementated in the shell; among them are, e.g.: 1. The `t/test-lib.sh' library in the Git testsuite: <http://git.kernel.org/?p=git/git.git;a=blob;f=t/test-lib.sh> 2. The `tap/libtap.sh' from the "C TAP Harness" package: <http://git.eyrie.org/?p=devel/c-tap-harness.git;a=blob;f=tap/libtap.sh> Note that those implementations will still require some editing and reshaping in order to fit in the current Automake testing framework. Thanks, Stefano
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Stefano Lattarini <stefano.lattarini@HIDDEN> Subject: bug#9231: Acknowledgement (Use of TAP in Automake's own testsuite: avoid NIH) Message-ID: <handler.9231.B.131240249922235.ack <at> debbugs.gnu.org> References: <201108032214.05946.stefano.lattarini@HIDDEN> X-Gnu-PR-Message: ack 9231 X-Gnu-PR-Package: automake Reply-To: 9231 <at> debbugs.gnu.org Date: Wed, 03 Aug 2011 20:15:02 +0000 Thank you for filing a new bug report with GNU. 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 9231 <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 9231: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9231 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.