]> git.saurik.com Git - bison.git/blame - tests/testsuite.at
2007-01-29 Paolo Bonzini <bonzini@gnu.org>
[bison.git] / tests / testsuite.at
CommitLineData
eb095650 1# Test suite for GNU Bison. -*- Autotest -*-
342b8b6e 2
a7867f53 3# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007 Free Software
eb095650 4# Foundation, Inc.
342b8b6e
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
0fb669f9
PE
18# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19# 02110-1301, USA.
342b8b6e 20
342b8b6e 21
eb095650
PE
22# Bison often leaks memory when its exit status is non-zero, so set
23# --leak-check=summary for Valgrind in that case.
24m4_pushdef([ORIGINAL_AT_CHECK], m4_defn([AT_CHECK]))
25m4_pushdef([AT_CHECK],
26[ORIGINAL_AT_CHECK(
bd9d212b 27 m4_if(m4_index(m4_quote($1), [bison ]), 0,
405d53b7 28 m4_if(m4_quote($2), [0], [], m4_quote($2), [], [],
eb095650
PE
29 [[VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; ]]))$@)])
30
3c31a486 31# Testing resistance to user bugs.
9b2d0677 32m4_include([input.at])
3c31a486
AD
33
34# Testing output file names.
342b8b6e 35m4_include([output.at])
3c31a486 36
a7867f53
JD
37# Testing skeleton support.
38m4_include([skeletons.at])
39
3c31a486 40# Testing the part of the engine that computes FOLLOW etc.
ed8e1f68 41m4_include([sets.at])
3c31a486
AD
42
43# Testing grammar reduction.
cb4956ee 44m4_include([reduce.at])
3c31a486 45
642cb8f8
AD
46# Testing that #lines are correct.
47m4_include([synclines.at])
48
3c31a486 49# Testing that headers are sane.
b9cecb91 50m4_include([headers.at])
3c31a486
AD
51
52# Testing that user actions are properly performed.
82c035a8 53m4_include([actions.at])
3c31a486
AD
54
55# Testing conflicts detection and resolution.
56m4_include([conflicts.at])
57
58# Fulling testing (compilation and execution of the parser) on calc.
342b8b6e 59m4_include([calc.at])
3c31a486 60
817e9f41 61# Huge artificial grammars.
3c31a486 62# Torturing the stack expansion at runtime.
6d7d248e 63m4_include([torture.at])
3c31a486 64
817e9f41
AD
65# Checking big, real world grammars.
66m4_include([existing.at])
67
3c31a486 68# Some old bugs.
342b8b6e 69m4_include([regression.at])
676385e2 70
e019c247
AD
71# Some C++ specific tests.
72m4_include([c++.at])
73
8405b70c
PB
74# And some Java specific tests.
75m4_include([java.at])
76
9501dc6e 77# GLR tests:
09903f30 78# C++ types, simplified
676385e2 79m4_include([cxx-type.at])
ede3d3bc
PH
80# Regression tests
81m4_include([glr-regression.at])
eb095650
PE
82
83m4_popdef([AT_CHECK])
84m4_popdef([ORIGINAL_AT_CHECK])