mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
Add support for an Autotest test suite for Bison.
* m4/m4.m4, m4/atconfig.m4: New files. * m4/Makefile.am (EXTRA_DIST): Adjust. * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New files. * src/getargs.c: Display a more standard --version message. * src/reader.c (reader): Formatting changes. No longer depend upon VERSION_STRING. * configure.in: No longer use `dnl'. Set up the test suite and the new directory `tests/. (VERSION_STRING): Remove.
This commit is contained in:
13
m4/atconfig.m4
Normal file
13
m4/atconfig.m4
Normal file
@@ -0,0 +1,13 @@
|
||||
## ----------------------##
|
||||
## Prepare for testing. ##
|
||||
## ----------------------##
|
||||
|
||||
# serial 1
|
||||
|
||||
# Single argument says where are built sources to test, relative to the
|
||||
# built test directory. Maybe omitted if the same (flat distribution).
|
||||
|
||||
AC_DEFUN(AT_CONFIG,
|
||||
[AT_TESTPATH=ifelse($1, , ., $1)
|
||||
AC_SUBST(AT_TESTPATH)
|
||||
])
|
||||
Reference in New Issue
Block a user