]> git.saurik.com Git - bison.git/blame - tests/Makefile.am
* src/reader.c (symbol_list_new): Be sure to initialize all the
[bison.git] / tests / Makefile.am
CommitLineData
e79137ac
AD
1## Process this file with automake to create Makefile.in.
2
3## Makefile for Bison testsuite.
2ce10144 4## Copyright 2000, 2001 Free Software Foundation, Inc.
e79137ac
AD
5
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; either version 2, or (at your option)
9## any later version.
10
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15
16## You should have received a copy of the GNU General Public License
17## along with this program; if not, write to the Free Software
18## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19## 02111-1307, USA.
20
f987e9d2 21EXTRA_DIST = $(TESTSUITE_AT) testsuite
e79137ac 22
80df8768 23DISTCLEANFILES = atconfig bison package.m4
342b8b6e 24MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
e79137ac 25
342b8b6e
AD
26TESTSUITE_AT = \
27 testsuite.at \
ed8e1f68 28 output.at sets.at reduce.at calc.at torture.at regression.at
342b8b6e 29TESTSUITE = $(srcdir)/testsuite
e79137ac 30
342b8b6e
AD
31AUTOTEST = $(AUTOM4TE) --language=autotest
32$(srcdir)/$(TESTSUITE): $(TESTSUITE_AT)
33 $(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp
34 mv $@.tmp $@
e79137ac 35
342b8b6e
AD
36atconfig: $(top_builddir)/config.status
37 cd $(top_builddir) && ./config.status tests/$@
e79137ac 38
342b8b6e
AD
39clean-local:
40 $(SHELL) $(TESTSUITE) --clean
41
42check-local: atconfig atlocal $(TESTSUITE)
43 $(SHELL) $(TESTSUITE)
44
45# Run the test suite on the *installed* tree.
46installcheck-local:
47 $(SHELL) $(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin