[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {test-protocols} tap/perl: add copyright notice, version string, a
From: |
Stefano Lattarini |
Subject: |
[FYI] {test-protocols} tap/perl: add copyright notice, version string, and emacs stuff |
Date: |
Thu, 25 Aug 2011 14:00:13 +0200 |
* lib/tap-driver.pl: Add proper copyright notice and bug reporting
address. Remove obsolete heading comments. Add trailing comments
for emacs w.r.t. code-formatting rules and automatic updating of
the date-based script version saved into the `$VERSION' variable.
($VERSION): Define to the current UTC date.
---
ChangeLog | 9 +++++++++
lib/tap-driver.pl | 50 +++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 54 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b1f251d..2be7634 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-08-25 Stefano Lattarini <address@hidden>
+
+ tap/perl: add copyright notice, version string, and emacs stuff
+ * lib/tap-driver.pl: Add proper copyright notice and bug reporting
+ address. Remove obsolete heading comments. Add trailing comments
+ for emacs w.r.t. code-formatting rules and automatic updating of
+ the date-based script version saved into the `$VERSION' variable.
+ ($VERSION): Define to the current UTC date.
+
2011-08-24 Stefano Lattarini <address@hidden>
tap/awk: don't redirect awk stderr to log files
diff --git a/lib/tap-driver.pl b/lib/tap-driver.pl
index 9e1ece4..64f22e5 100755
--- a/lib/tap-driver.pl
+++ b/lib/tap-driver.pl
@@ -1,6 +1,27 @@
#! /usr/bin/env perl
-# Temporary/experimental TAP test driver for Automake.
-# TODO: should be rewritten portably (e.g., in awk or shell).
+# Copyright (C) 2011 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <address@hidden> or send patches to
+# <address@hidden>.
# ---------------------------------- #
# Imports, static data, and setup. #
@@ -11,6 +32,8 @@ use strict;
use Getopt::Long ();
use TAP::Parser;
+my $VERSION = '2011-08-25.08'; # UTC
+
my $ME = "tap-driver.pl";
my $USAGE = <<'END';
@@ -26,8 +49,6 @@ END
my $HELP = "$ME: TAP-aware test driver for Automake testsuite harness." .
"\n" . $USAGE;
-my $VERSION = '(experimental version)';
-
# Keep this in sync with `lib/am/check.am:$(am__tty_colors)'.
my %COLOR = (
red => "\e[0;31m",
@@ -478,4 +499,23 @@ sub main (@)
main @ARGV;
-# vim: ft=perl ts=4 sw=4 et
+# Local Variables:
+# perl-indent-level: 2
+# perl-continued-statement-offset: 2
+# perl-continued-brace-offset: 0
+# perl-brace-offset: 0
+# perl-brace-imaginary-offset: 0
+# perl-label-offset: -2
+# cperl-indent-level: 2
+# cperl-brace-offset: 0
+# cperl-continued-brace-offset: 0
+# cperl-label-offset: -2
+# cperl-extra-newline-before-brace: t
+# cperl-merge-trailing-else: nil
+# cperl-continued-statement-offset: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "my $VERSION = "
+# time-stamp-format: "'%:y-%02m-%02d.%02H'"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
--
1.7.2.3
- [FYI] {test-protocols} tap/awk: remove obsolete "FIXME" comment, Stefano Lattarini, 2011/08/25
- [FYI] {test-protocols} tap/perl: add copyright notice, version string, and emacs stuff,
Stefano Lattarini <=
- [FYI] {test-protocols} tap/awk: don't redirect awk stderr to log files, Stefano Lattarini, 2011/08/25
- [FYI] {test-protocols} tap/perl: don't redirect perl warnings/errors to log files, Stefano Lattarini, 2011/08/25
- [FYI] {test-protocols} tap: improve syncing between awk+shell and perl implementations, Stefano Lattarini, 2011/08/25
- [FYI] {test-protocols} coverage: more about escaping of TAP directives, Stefano Lattarini, 2011/08/25
- [FYI] {test-protocols} tap/awk: allow escaping of TAP directives, Stefano Lattarini, 2011/08/25