autoconf-patches
[Top][All Lists]
Advanced

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

FYI: Revamping Autotest, step 8


From: Akim Demaille
Subject: FYI: Revamping Autotest, step 8
Date: 13 Nov 2001 16:10:47 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

This time Autotest is usable again.  Some names might change in the
future, but the core features are there now.

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
        hand.
        * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.

Index: tests/m4sh.at
===================================================================
RCS file: /cvs/autoconf/tests/m4sh.at,v
retrieving revision 1.25
diff -u -u -r1.25 m4sh.at
--- tests/m4sh.at 2001/10/18 23:44:54 1.25
+++ tests/m4sh.at 2001/11/13 15:17:58
@@ -42,15 +42,15 @@
 # UNSET-LINENO is a shell condition to make sure the scripts have the
 # same number of lines in the output, so that their outputs be identical.
 m4_define([AT_DATA_LINENO],
-[AT_DATA_M4SH([$1],
-[[AS_INIT
+[AT_DATA([$1],
+[[AS@&address@hidden
 if $2; then
-  AS_UNSET([LINENO])
+  AS@&address@hidden([LINENO])
 fi
-AS_SHELL_SANITIZE
+AS@&address@hidden
 echo "Line: $3"
 grep 'Line: .*$4' $[0] >/dev/null ||
-  AS_ERROR([cannot find original script])
+  AS@&address@hidden([cannot find original script])
 exit 0
 ]])
 ])# AT_DATA_LINENO
Index: tests/tools.at
===================================================================
RCS file: /cvs/autoconf/tests/tools.at,v
retrieving revision 1.58
diff -u -u -r1.58 tools.at
--- tests/tools.at 2001/11/13 12:03:11 1.58
+++ tests/tools.at 2001/11/13 15:17:58
@@ -255,7 +255,7 @@
 configure.ac:3: error: possibly undefined macro: _m4_bar
 configure.ac:4: error: possibly undefined macro: AS_FOO
 configure.ac:5: error: possibly undefined macro: _AS_BAR
-configure.ac:6: error: possibly undefined macro: d@&address@hidden
+configure.ac:6: error: possibly undefined macro: dnl
 ]])
 
 AT_CHECK_AUTOCONF([], 1, [], experr)



reply via email to

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