mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user