m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/tests/generate.awk,v


From: Eric Blake
Subject: Changes to m4/tests/generate.awk,v
Date: Wed, 04 Oct 2006 03:57:04 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/10/04 03:57:01

Index: tests/generate.awk
===================================================================
RCS file: /sources/m4/m4/tests/generate.awk,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- tests/generate.awk  20 Sep 2006 04:04:29 -0000      1.19
+++ tests/generate.awk  4 Oct 2006 03:57:01 -0000       1.20
@@ -172,10 +172,19 @@
   if (xfail == 1)
     printf ("AT_XFAIL_IF([:])\n");
 
+  if (options ~ /-I/)
+    {
+      printf ("AT_DATA([expout1],\n[[%s]])\n", output);
+      printf ("sed -e \"s|\\.\\./examples|$abs_top_srcdir/examples|g\" \\\n");
+      printf ("  < expout1 > expout\n\n");
+    }
+
   printf ("AT_DATA([[input.m4]],\n[[%s]])\n\n", input);
   # Some of these tests `include' files from tests/.
   printf ("AT_CHECK_M4([[%s input.m4]], %s,", options, status);
-  if (output)
+  if (options ~ /-I/)
+    printf ("\n[expout]");
+  else if (output)
     printf ("\n[[%s]]", output);
   else
     printf (" []");




reply via email to

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