[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AT_CONFIG
From: |
Akim Demaille |
Subject: |
Re: AT_CONFIG |
Date: |
09 Sep 2002 18:23:14 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
>>>>> "Nishio" == Nishio Futoshi <address@hidden> writes:
Nishio> 3) AT_CONFIG was replaced, I think
Nishio> In autoconf.info: - Use the `AT_CONFIG' macro from within file
Nishio> `configure.ac'. This macro accepts one argument, which is the
Nishio> directory, relative to the test directory, where the
Nishio> executables are prepared.
Nishio> But in ChangeLog:
Nishio> 2001-08-27 Akim Demaille <address@hidden> * m4/atconfig.m4
Nishio> (AT_CONFIG): Remove, replaced by...
Nishio> Please fix documentation.
Thanks, I'm applying this:
Index: ChangeLog
from Akim Demaille <address@hidden>
* doc/autoconf.texi (Making testsuite Scripts): Update.
Suggested by Nishio Futoshi.
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.669
diff -u -u -r1.669 autoconf.texi
--- doc/autoconf.texi 9 Sep 2002 16:10:14 -0000 1.669
+++ doc/autoconf.texi 9 Sep 2002 16:25:58 -0000
@@ -13690,21 +13690,25 @@
hierarchy: the test suite ought to be shipped!
@item
address@hidden FIXME: This macro should become part of Autoconf.
AC_AUTOTEST_PATH?
-Use the @code{AT_CONFIG} macro from within file @file{configure.ac}.
-This macro accepts one argument, which is the directory, relative to the
-test directory, where the executables are prepared.
+Invoke @code{AC_CONFIG_TESTDIR}.
+
address@hidden AC_CONFIG_TESTDIR (@var{directory}, @dvar{test-path,
@var{directory}})
address@hidden CONFIG_TESTDIR
+An Autotest test suite is to be configured in @var{directory}. This
+macro requires the instanciation of @address@hidden/atconfig} from
address@hidden@var{directory}/atconfig.in}, and sets the default
address@hidden to @var{test-path} (@pxref{testsuite Invocation}).
address@hidden defmac
@item
-Still within @file{configure.ac}, ensure that some
+Still within @file{configure.ac}, as appropriate, ensure that some
@code{AC_CONFIG_FILES} command includes substitution for
address@hidden/atconfig} and also, as appropriate, @file{tests/atlocal}.
address@hidden/atlocal}.
@item
The @file{tests/Makefile.in} should be modified so the validation in
your package is triggered by @samp{make check}. An example is provided
below.
-
@end itemize
With Automake, here is a minimal example about how to link @samp{make