[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LTAT_ namespace for Autotest macros
From: |
Ralf Wildenhues |
Subject: |
LTAT_ namespace for Autotest macros |
Date: |
Thu, 30 Dec 2004 13:51:11 +0100 |
User-agent: |
Mutt/1.4.1i |
OK to apply to HEAD?
Regards,
Ralf
* tests/am-subdir.at tests/testsuite.at (AT_BOOTSTRAP,
AT_LIBTOOLIZE, AT_CHECK_LIBTOOLIZE) Rename to ..
(LTAT_BOOTSTRAP, LTAT_LIBTOOLIZE, LTAT_CHECK_LIBTOOLIZE)
and make use of new names.
Index: tests/am-subdir.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/am-subdir.at,v
retrieving revision 1.2
diff -u -r1.2 am-subdir.at
--- tests/am-subdir.at 29 Nov 2004 13:50:54 -0000 1.2
+++ tests/am-subdir.at 29 Dec 2004 09:41:05 -0000
@@ -72,7 +72,7 @@
** This is libsub **
]])
-AT_BOOTSTRAP
+LTAT_BOOTSTRAP
"${MAKE-make}"
AT_CHECK([subdir/subdemo], 0, expout)
@@ -155,7 +155,7 @@
** This is libsub::sub **
]])
-AT_BOOTSTRAP
+LTAT_BOOTSTRAP
"${MAKE-make}"
AT_CHECK([subdir/subdemo], 0, expout)
Index: tests/testsuite.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/testsuite.at,v
retrieving revision 1.3
diff -u -r1.3 testsuite.at
--- tests/testsuite.at 20 Dec 2004 15:03:39 -0000 1.3
+++ tests/testsuite.at 29 Dec 2004 09:41:05 -0000
@@ -23,26 +23,26 @@
export LIBTOOLIZE
m4_divert_pop([PREPARE_TESTS])dnl
-# AT_LIBTOOLIZE([ARGS])
-# ---------------------
-m4_define([AT_LIBTOOLIZE],
+# LTAT_LIBTOOLIZE([ARGS])
+# -----------------------
+m4_define([LTAT_LIBTOOLIZE],
["$LIBTOOLIZE" -I "$abs_top_srcdir" -I "$abs_top_srcdir/config" $1
])
-# AT_CHECK_LIBTOOLIZE(ARGS, [EXIT-STATUS = 0], [STDOUT = `'], [STDERR = `'])
-# --------------------------------------------------------------------------
-m4_define([AT_CHECK_LIBTOOLIZE],
-[AT_CHECK([AT_LIBTOOLIZE([$1])],
+# LTAT_CHECK_LIBTOOLIZE(ARGS, [EXIT-STATUS = 0], [STDOUT = `'], [STDERR = `'])
+# ----------------------------------------------------------------------------
+m4_define([LTAT_CHECK_LIBTOOLIZE],
+[AT_CHECK([LTAT_LIBTOOLIZE([$1])],
[$2], [$3], [$4])
])
-# AT_BOOTSTRAP
-# ------------
-m4_define([AT_BOOTSTRAP],
+# LTAT_BOOTSTRAP
+# --------------
+m4_define([LTAT_BOOTSTRAP],
[
-test -f ./ltmain.sh || AT_LIBTOOLIZE([--copy])
+test -f ./ltmain.sh || LTAT_LIBTOOLIZE([--copy])
test -f ./configure || autoreconf --force --verbose --install
test -f ./configure || exit 1
./configure
- LTAT_ namespace for Autotest macros,
Ralf Wildenhues <=