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 = "";
}
/[EMAIL PROTECTED] / {
@@ -37,6 +38,7 @@
/[EMAIL PROTECTED] ignore$/ {
getline;
status = 0;
+ options = "";
next;
}
@@ -44,6 +46,11 @@
status = $3;
}
+/[EMAIL PROTECTED] options: / {
+ options = $0;
+ gsub ("@comment options:", "", options);
+}
+
/[EMAIL PROTECTED]/, /[EMAIL PROTECTED] 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 ~ /[EMAIL PROTECTED] example$/) {