m4-patches
[Top][All Lists]
Advanced

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

remove more generated files


From: Eric Blake
Subject: remove more generated files
Date: Thu, 11 May 2006 06:54:53 -0600
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I gave in.  Editing the docs and having to regenerate the testsuite was
too painful, especially since I wanted to add a test, which threw off the
test numbering.  Now when building from CVS, all the checks/[0-9][0-9].*
files are generated on the user's end, rather than being maintained in
CVS; if this means the user has to get GNU awk to generate the testsuite,
so be it.  I did verify that 'make dist' still creates the testsuite
files, and that a 'make check' of that dist does not rerun awk, so it is
only a burden on CVS developers.  I will also update the .cvsignore files
accordingly.

2006-05-11  Eric Blake  <address@hidden>

        Make testsuite less sensitive to doc changes.
        * doc/m4.texinfo: Use m4.input instead of filename.
        * checks/check-them (xerr): Turn m4.input into filename.
        * checks/Makefile.in (dist): Depend on stamp-checks.

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEYzQd84KuGfSFAYARAqQ3AKCzoXUvZanyp/IjGrTBzk1peabJ2wCfa0/x
xj1CuCUPdWuLh5LoVQVrtpk=
=Eg5a
-----END PGP SIGNATURE-----
Index: checks/check-them
===================================================================
RCS file: /sources/m4/m4/checks/Attic/check-them,v
retrieving revision 1.1.1.1.2.1
diff -u -p -r1.1.1.1.2.1 check-them
--- checks/check-them   9 Jun 2004 10:53:15 -0000       1.1.1.1.2.1
+++ checks/check-them   11 May 2006 12:49:31 -0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Check GNU m4 against examples from the manual source.
-# Copyright (C) 1992 Free Software Foundation, Inc.
+# Copyright (C) 1992, 2006 Free Software Foundation, Inc.
 
 out=/tmp/m4-out.$$
 err=/tmp/m4-err.$$
@@ -16,7 +16,7 @@ do
   echo "Checking $file"
   LC_MESSAGES=C m4 -d $file >$out 2>$err
 
-  sed -e '/^dnl @result{}/!d' -e 's///' $file > $xout
+  sed -e '/^dnl @result{}/!d' -e 's///' -e "s/m4.input/$file/" $file > $xout
 
   if cmp -s $out $xout; then
     :
@@ -27,7 +27,7 @@ do
     diff $xout $out
   fi
 
-  sed -e '/^dnl @error{}/!d' -e 's///' $file > $xerr
+  sed -e '/^dnl @error{}/!d' -e 's///' -e "s/m4.input/$file/" $file > $xerr
 
   if cmp -s $err $xerr; then
     :
Index: checks/Makefile.in
===================================================================
RCS file: /sources/m4/m4/checks/Attic/Makefile.in,v
retrieving revision 1.1.1.1.2.2
diff -u -p -r1.1.1.1.2.2 Makefile.in
--- checks/Makefile.in  1 May 2005 11:54:12 -0000       1.1.1.1.2.2
+++ checks/Makefile.in  11 May 2006 12:49:31 -0000
@@ -1,5 +1,5 @@
 ##
-## Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+## Copyright (C) 1992, 1993, 1994, 2006 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
@@ -58,7 +58,7 @@ distclean: clean
 realclean: distclean
        rm -f $(CHECKS) stamp-checks
 
-dist: $(DISTFILES)
+dist: $(DISTFILES) stamp-checks
        @echo "Copying distribution files"
        @for file in $(DISTFILES); do \
          ln $(srcdir)/$$file ../$(PACKAGE)-$(VERSION)/checks 2> /dev/null \
Index: doc/m4.texinfo
===================================================================
RCS file: /sources/m4/m4/doc/m4.texinfo,v
retrieving revision 1.1.1.1.2.6
diff -u -p -r1.1.1.1.2.6 m4.texinfo
--- doc/m4.texinfo      9 May 2006 04:07:21 -0000       1.1.1.1.2.6
+++ doc/m4.texinfo      11 May 2006 12:49:31 -0000
@@ -2080,7 +2080,7 @@ does not.
 @example
 include(`no-such-file')
 @result{}
address@hidden:2: m4: Cannot open no-such-file: No such file or directory
address@hidden:2: m4: Cannot open no-such-file: No such file or directory
 sinclude(`no-such-file')
 @result{}
 @end example
@@ -2821,7 +2821,7 @@ square(square(5)+1)
 define(`foo', `666')
 @result{}
 eval(`foo'/6)
address@hidden:14: m4: Bad expression in eval: foo/6
address@hidden:14: m4: Bad expression in eval: foo/6
 @result{}
 eval(foo/6)
 @result{}111
@@ -3054,7 +3054,7 @@ current input line number in that file.
 @example
 errprint(`m4:'__file__:__line__: `Input error
 ')
address@hidden:56.errprint:2: Input error
address@hidden:m4.input:2: Input error
 @result{}
 @end example
 
@@ -3079,7 +3079,7 @@ define(`fatal_error', `errprint(`m4: '__
 ')m4exit(1)')
 @result{}
 fatal_error(`This is a BAD one, buster')
address@hidden: 57.m4exit: 5: fatal error: This is a BAD one, buster
address@hidden: m4.input: 5: fatal error: This is a BAD one, buster
 @end example
 
 After this macro call, @code{m4} will exit with exit code 1.  This macro

reply via email to

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