mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +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:
82
tests/atconfig.in
Normal file
82
tests/atconfig.in
Normal file
@@ -0,0 +1,82 @@
|
||||
# @configure_input@ -*- shell-script -*-
|
||||
# Configurable variable values for building test suites.
|
||||
# Copyright (C) 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
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# This script is part of Autotest. Unlimited permission to copy,
|
||||
# distribute and modify the testing scripts that are the output of
|
||||
# that Autotest script is given. You need not follow the terms of the
|
||||
# GNU General Public License when using or distributing such scripts,
|
||||
# even though portions of the text of Autotest appear in them. The
|
||||
# GNU General Public License (GPL) does govern all other use of the
|
||||
# material that constitutes the Autotest.
|
||||
#
|
||||
# Certain portions of the Autotest source text are designed to be
|
||||
# copied (in certain cases, depending on the input) into the output of
|
||||
# Autotest. We call these the "data" portions. The rest of the
|
||||
# Autotest source text consists of comments plus executable code that
|
||||
# decides which of the data portions to output in any given case. We
|
||||
# call these comments and executable code the "non-data" portions.
|
||||
# Autotest never copies any of the non-data portions into its output.
|
||||
#
|
||||
# This special exception to the GPL applies to versions of Autotest
|
||||
# released by the Free Software Foundation. When you make and
|
||||
# distribute a modified version of Autotest, you may extend this
|
||||
# special exception to the GPL to apply to your modified version as
|
||||
# well, *unless* your modified version has the potential to copy into
|
||||
# its output some of the text that was the non-data portion of the
|
||||
# version that you started with. (In other words, unless your change
|
||||
# moves or copies text from the non-data portions to the data
|
||||
# portions.) If your modification has such potential, you must delete
|
||||
# any notice of this special exception to the GPL from your modified
|
||||
# version.
|
||||
|
||||
# Snippet (1
|
||||
# This debugging script has been automatically generated from `make check'.
|
||||
# Call it with `--help' to get a quick usage summary.
|
||||
|
||||
at_package=@PACKAGE@
|
||||
at_version=@VERSION@
|
||||
# Snippet )1
|
||||
# Snippet (2
|
||||
at_n=@ECHO_N@
|
||||
at_c='@ECHO_C@'
|
||||
test -f atlocal && . ./atlocal
|
||||
|
||||
# LC_MESSAGES is always shadowed by LC_ALL. Here are the only cases:
|
||||
# - GNU: LANGUAGE -> LC_ALL -> LC_MESSAGES -> LANG
|
||||
# - POSIX: LC_ALL -> LC_MESSAGES -> LANG
|
||||
# - XPG4: LC_ALL -> LANG
|
||||
# - SysV/XPG2: LANG
|
||||
export LANGUAGE; LANGUAGE=C
|
||||
export LANG; LANG=C
|
||||
export LC_ALL; LC_ALL=C
|
||||
|
||||
srcdir=@srcdir@
|
||||
top_srcdir=@top_srcdir@
|
||||
# Use absolute file notations, as the test might change directories.
|
||||
at_srcdir=`cd @srcdir@ && pwd`
|
||||
at_top_srcdir=`cd @top_srcdir@ && pwd`
|
||||
if test -n "@AT_TESTPATH@"; then
|
||||
export PATH; PATH=`pwd`:`cd @AT_TESTPATH@ && pwd`:$PATH
|
||||
else
|
||||
export PATH; PATH=`pwd`:$PATH
|
||||
fi
|
||||
|
||||
# We need GNU m4.
|
||||
M4=@M4@
|
||||
# Snippet )2
|
||||
Reference in New Issue
Block a user