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:
Akim Demaille
2000-09-18 13:01:59 +00:00
parent 8aa892b461
commit e79137accc
19 changed files with 1633 additions and 898 deletions

13
m4/atconfig.m4 Normal file
View 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)
])