m4-patches
[Top][All Lists]
Advanced

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

More distcheck


From: Akim Demaille
Subject: More distcheck
Date: 17 Aug 2001 16:45:07 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * tests/others.at (iso8859): Specify the path to the M4 test file.
        * tests/testsuite.at (AT_CHECK_M4): Normalize the path of input
        files in error messages.

Index: tests/others.at
===================================================================
RCS file: /cvs/m4/tests/others.at,v
retrieving revision 1.2
diff -u -u -r1.2 others.at
--- tests/others.at 2001/08/17 14:12:27 1.2
+++ tests/others.at 2001/08/17 14:39:47
@@ -16,10 +16,7 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
-# sed -e "s,^[^:]*[lt-]*m4[.ex]*:,m4:," err >sederr && mv sederr err
 
-
-
 ## ---------- ##
 ## capitalize ##
 ## ---------- ##
@@ -551,7 +548,7 @@
 This will be seen.
 ]])
 
-AT_CHECK_M4([iso8859.m4], 0, expout)
+AT_CHECK_M4([tests/iso8859.m4], 0, expout)
 
 AT_CLEANUP
 
Index: tests/testsuite.at
===================================================================
RCS file: /cvs/m4/tests/testsuite.at,v
retrieving revision 1.2
diff -u -u -r1.2 testsuite.at
--- tests/testsuite.at 2001/08/17 14:12:27 1.2
+++ tests/testsuite.at 2001/08/17 14:39:47
@@ -20,11 +20,14 @@
 
 # AT_CHECK_M4(FLAGS, [EXIT-STATUS = 0], STDOUT, STDERR)
 # -----------------------------------------------------
+# Hide the impact of libtool on program_invocation_name, and hide
+# the differences of paths when src != build.
 m4_define([AT_CHECK_M4],
 [AT_CHECK([M4PATH=$top_srcdir $M4 -M $top_builddir/modules -d $1],
           [m4_default([$2], [0])],
           [$3], [stderr])
-AT_CHECK([[sed 's,^[^:]*[lt-]*m4[.ex]*:,m4:,' stderr >&2]], 0, [], [$4])
+AT_CHECK([[sed -e 's,^[^:]*[lt-]*m4[.ex]*:,m4:,' \
+               -e 's,m4: ../../,m4: ../,'        stderr >&2]], 0, [], [$4])
 ])
 
 



reply via email to

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