]> git.saurik.com Git - bison.git/blame_incremental - tests/testsuite.at
* djgpp/config.bat: Fix that inttypes.h and inttypes_.h map on the same 8.3 alias.
[bison.git] / tests / testsuite.at
... / ...
CommitLineData
1# Test suite for GNU Bison. -*- Autotest -*-
2
3# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007 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_index(m4_quote($1), [bison ]), 0,
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 skeleton support.
38m4_include([skeletons.at])
39
40# Testing the part of the engine that computes FOLLOW etc.
41m4_include([sets.at])
42
43# Testing grammar reduction.
44m4_include([reduce.at])
45
46# Testing that #lines are correct.
47m4_include([synclines.at])
48
49# Testing that headers are sane.
50m4_include([headers.at])
51
52# Testing that user actions are properly performed.
53m4_include([actions.at])
54
55# Testing conflicts detection and resolution.
56m4_include([conflicts.at])
57
58# Fulling testing (compilation and execution of the parser) on calc.
59m4_include([calc.at])
60
61# Huge artificial grammars.
62# Torturing the stack expansion at runtime.
63m4_include([torture.at])
64
65# Checking big, real world grammars.
66m4_include([existing.at])
67
68# Some old bugs.
69m4_include([regression.at])
70
71# Some C++ specific tests.
72m4_include([c++.at])
73
74# And some Java specific tests.
75m4_include([java.at])
76
77# GLR tests:
78# C++ types, simplified
79m4_include([cxx-type.at])
80# Regression tests
81m4_include([glr-regression.at])
82
83m4_popdef([AT_CHECK])
84m4_popdef([ORIGINAL_AT_CHECK])