]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tap: a minor simplification in the perl TAP driver
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 17 Aug 2011 14:40:10 +0000 (16:40 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 17 Aug 2011 14:40:31 +0000 (16:40 +0200)
* lib/tap-driver.pl: The `--disable-hard-errors' option is a
no-op, so just ignore it and its argument.

ChangeLog
lib/tap-driver.pl

index 3fefbd39f5a8b2cdc4efd00db518945d7f5f8014..571218b4352b286272e920afae866f5852c4441b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tap: a minor simplification in the perl TAP driver
+       * lib/tap-driver.pl: The `--disable-hard-errors' option is a
+       no-op, so just ignore it and its argument.
+
 2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        parallel-tests: fix help screen for test driver scripts
index 6d42b22554056fd6f1cff197f1b0fe3ed5af3b01..ed991310295fa1b5fa3a601f0dd7a75f16b6794c 100755 (executable)
@@ -63,7 +63,6 @@ my $plan_seen = NO_PLAN;
 my %cfg = (
   "color-tests" => 0,
   "expect-failure" => 0,
-  "enable-hard-errors" => 1,
   "merge" => 0,
   "comments" => 0,
   "ignore-exit" => 0,
@@ -82,7 +81,7 @@ Getopt::Long::GetOptions (
     'trs-file=s' => \$trs_file,
     'color-tests=s'  => \&bool_opt,
     'expect-failure=s'  => \&bool_opt,
-    'enable-hard-errors=s' => \&bool_opt,
+    'enable-hard-errors=s' => sub {}, # No-op.
     'diagnostic-string=s' => \$diag_string,
     'comments' => sub { $cfg{"comments"} = 1; },
     'no-comments' => sub { $cfg{"comments"} = 0; },