m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/checks/Attic/get-them,v [branch-1_4]


From: Eric Blake
Subject: Changes to m4/checks/Attic/get-them,v [branch-1_4]
Date: Fri, 25 May 2007 12:58:51 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      07/05/25 12:58:50

Index: checks/get-them
===================================================================
RCS file: /sources/m4/m4/checks/Attic/get-them,v
retrieving revision 1.1.1.1.2.9
retrieving revision 1.1.1.1.2.10
diff -u -b -r1.1.1.1.2.9 -r1.1.1.1.2.10
--- checks/get-them     28 Jan 2007 01:54:41 -0000      1.1.1.1.2.9
+++ checks/get-them     25 May 2007 12:58:49 -0000      1.1.1.1.2.10
@@ -15,6 +15,7 @@
   count = 0;
   file = "NONE";
   status = 0;
+  options = "";
 }
 
 /address@hidden / {
@@ -37,6 +38,7 @@
 /address@hidden ignore$/ {
   getline;
   status = 0;
+  options = "";
   next;
 }
 
@@ -44,6 +46,11 @@
   status = $3;
 }
 
+/address@hidden options: / {
+  options = $0;
+  gsub ("@comment options:", "", options);
+}
+
 /address@hidden/, /address@hidden example$/ {
   if (seq < 0)
     next;
@@ -55,12 +62,14 @@
     file = sprintf("%03d.%s", count, node);
     printf("dnl @ %s:%d: Origin of test\n"\
           "dnl @ expected status: %d\n"\
+          "dnl @ extra options: %s\n"\
           "dnl @ Copyright (C) 2006, 2007 Free Software Foundation\n"\
           "dnl @ This file is free software; the Free Software Foundation\n"\
           "dnl @ gives unlimited permission to copy and/or distribute it\n"\
           "dnl @ with or without modifications, as long as this notice\n"\
-          "dnl @ is preserved.\n", FILENAME, NR, status) > file;
+          "dnl @ is preserved.\n", FILENAME, NR, status, options) > file;
     status = 0;
+    options = "";
     next;
   }
   if ($0 ~ /address@hidden example$/) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]