]> git.saurik.com Git - bison.git/blame - tests/testsuite.at
Rename <!> to <>. Discussed starting at
[bison.git] / tests / testsuite.at
CommitLineData
eb095650 1# Test suite for GNU Bison. -*- Autotest -*-
342b8b6e 2
eb095650
PE
3# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006 Free Software
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(
27 m4_if(m4_quote(m4_substr(m4_quote($1), 0, 5)), [bison],
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
AD
36
37# Testing the part of the engine that computes FOLLOW etc.
ed8e1f68 38m4_include([sets.at])
3c31a486
AD
39
40# Testing grammar reduction.
cb4956ee 41m4_include([reduce.at])
3c31a486 42
642cb8f8
AD
43# Testing that #lines are correct.
44m4_include([synclines.at])
45
3c31a486 46# Testing that headers are sane.
b9cecb91 47m4_include([headers.at])
3c31a486
AD
48
49# Testing that user actions are properly performed.
82c035a8 50m4_include([actions.at])
3c31a486
AD
51
52# Testing conflicts detection and resolution.
53m4_include([conflicts.at])
54
55# Fulling testing (compilation and execution of the parser) on calc.
342b8b6e 56m4_include([calc.at])
3c31a486 57
817e9f41 58# Huge artificial grammars.
3c31a486 59# Torturing the stack expansion at runtime.
6d7d248e 60m4_include([torture.at])
3c31a486 61
817e9f41
AD
62# Checking big, real world grammars.
63m4_include([existing.at])
64
3c31a486 65# Some old bugs.
342b8b6e 66m4_include([regression.at])
676385e2 67
e019c247
AD
68# Some C++ specific tests.
69m4_include([c++.at])
70
9501dc6e 71# GLR tests:
09903f30 72# C++ types, simplified
676385e2 73m4_include([cxx-type.at])
ede3d3bc
PH
74# Regression tests
75m4_include([glr-regression.at])
eb095650
PE
76
77m4_popdef([AT_CHECK])
78m4_popdef([ORIGINAL_AT_CHECK])