]> git.saurik.com Git - bison.git/blame_incremental - tests/testsuite.at
Rename <!> to <>. Discussed starting at
[bison.git] / tests / testsuite.at
... / ...
CommitLineData
1# Test suite for GNU Bison. -*- Autotest -*-
2
3# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006 Free Software
4# Foundation, Inc.
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., 51 Franklin Street, Fifth Floor, Boston, MA
19# 02110-1301, USA.
20
21
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],
28 m4_if(m4_quote($2), [0], [], m4_quote($2), [], [],
29 [[VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; ]]))$@)])
30
31# Testing resistance to user bugs.
32m4_include([input.at])
33
34# Testing output file names.
35m4_include([output.at])
36
37# Testing the part of the engine that computes FOLLOW etc.
38m4_include([sets.at])
39
40# Testing grammar reduction.
41m4_include([reduce.at])
42
43# Testing that #lines are correct.
44m4_include([synclines.at])
45
46# Testing that headers are sane.
47m4_include([headers.at])
48
49# Testing that user actions are properly performed.
50m4_include([actions.at])
51
52# Testing conflicts detection and resolution.
53m4_include([conflicts.at])
54
55# Fulling testing (compilation and execution of the parser) on calc.
56m4_include([calc.at])
57
58# Huge artificial grammars.
59# Torturing the stack expansion at runtime.
60m4_include([torture.at])
61
62# Checking big, real world grammars.
63m4_include([existing.at])
64
65# Some old bugs.
66m4_include([regression.at])
67
68# Some C++ specific tests.
69m4_include([c++.at])
70
71# GLR tests:
72# C++ types, simplified
73m4_include([cxx-type.at])
74# Regression tests
75m4_include([glr-regression.at])
76
77m4_popdef([AT_CHECK])
78m4_popdef([ORIGINAL_AT_CHECK])