Tune local.at so that people can "autom4te -l autotest calc.at -o

calc" for instance, to extract a sub test suite.
* tests/testsuite.at: Move the initialization, Autotest version
requirement, and AT_TESTED invocation into...
* tests/local.at: here.
* tests/testsuite.at: Include it for compatibility with Autoconf
2.57.
* tests/Makefile.am ($(TESTSUITE)): Report that the warning should
be ignore.
This commit is contained in:
Akim Demaille
2003-08-25 07:15:49 +00:00
parent 750a5211c0
commit 1f7a61ff99
4 changed files with 33 additions and 9 deletions

View File

@@ -18,6 +18,9 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# We want a recent Autotest.
m4_version_prereq([2.57])
## ------------------------------- ##
## Macros decoding Bison options. ##
@@ -190,3 +193,14 @@ AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS m4_default([$2], [$1.c]) -o $1],
# So that we can run `./testsuite PREPARSER='valgrind -q' for instance.
m4_define([AT_PARSER_CHECK],
[AT_CHECK([$PREPARSER $1], [$2], [$3], [$4])])
## ----------------------- ##
## Launch the test suite. ##
## ----------------------- ##
AT_INIT
AT_TESTED([bison])