* automake.texi (Tests): Document DEJATOOL as a list.
* dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
(check-DEJAGNU): Run runtest in a loop.
+2000-08-04 Tom Tromey <tromey@cygnus.com>
+
+ Idea from Nicolas Thiery:
+ * automake.texi (Tests): Document DEJATOOL as a list.
+ * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
+ (check-DEJAGNU): Run runtest in a loop.
+
2000-08-02 Akim Demaille <akim@epita.fr>
* m4: Quote properly the name of the macros being defined.
Miodrag Vallat miodrag@ifrance.com
Motoyuki Kasahara m-kasahr@sra.co.jp
Motoyuki Kasahara m-kasahr@sra.co.jp
+Nicolas Thiery nthiery@Icare.mines.edu
NISHIDA Keisuke knishida@nn.iij4u.or.jp
Nelson H. F. Beebe beebe@math.utah.edu
Noah Friedman friedman@gnu.ai.mit.edu
If @uref{ftp://prep.ai.mit.edu/pub/gnu/dejagnu-1.3.tar.gz,
@samp{dejagnu}} appears in @code{AUTOMAKE_OPTIONS}, then a
-@code{dejagnu}-based test suite is assumed. The value of the variable
-@code{DEJATOOL} is passed as the @code{--tool} argument to
-@code{runtest}; it defaults to the name of the package.
+@code{dejagnu}-based test suite is assumed. The variable
+@code{DEJATOOL} is a list of names which are passed, one at a time, as
+the @code{--tool} argument to @code{runtest} invocations; it defaults to
+the name of the package.
The variable @code{RUNTESTDEFAULTFLAGS} holds the @code{--tool} and
@code{--srcdir} flags that are passed to dejagnu by default; this can be
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1997, 2000 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
DEJATOOL = $(PACKAGE)
## Default flags to pass to dejagnu. The user can override this.
-RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
+RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
check-DEJAGNU: site.exp
## Life is easiest with an absolute srcdir, so do that.
## If runtest can't be found, print a warning but don't die. It is
## pointless to cause a failure if the tests cannot be run at all.
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
- $$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
+ l='$(DEJATOOL)'; for tool in $$l; do \
+ $$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
+ done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1997, 2000 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
DEJATOOL = $(PACKAGE)
## Default flags to pass to dejagnu. The user can override this.
-RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
+RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
check-DEJAGNU: site.exp
## Life is easiest with an absolute srcdir, so do that.
## If runtest can't be found, print a warning but don't die. It is
## pointless to cause a failure if the tests cannot be run at all.
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
- $$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
+ l='$(DEJATOOL)'; for tool in $$l; do \
+ $$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
+ done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi