* tests/torture.at (Big triangle): New.

(GNU AWK Grammar, GNU Cim Grammar): Move to...
* tests/existing.at: here.
This commit is contained in:
Akim Demaille
2002-04-07 17:44:38 +00:00
parent 5123689ba0
commit 817e9f41d1
6 changed files with 1348 additions and 1199 deletions

View File

@@ -1,3 +1,9 @@
2002-04-07 Akim Demaille <akim@epita.fr>
* tests/torture.at (Big triangle): New.
(GNU AWK Grammar, GNU Cim Grammar): Move to...
* tests/existing.at: here.
2002-04-07 Akim Demaille <akim@epita.fr> 2002-04-07 Akim Demaille <akim@epita.fr>
* src/gram.h, src/gram.c (nitems): Remove, it is an alias of * src/gram.h, src/gram.c (nitems): Remove, it is an alias of

8
TODO
View File

@@ -14,9 +14,11 @@ into
when there are no actions. This can significantly speed up some when there are no actions. This can significantly speed up some
grammars. grammars.
* Useless rules * Huge Grammars
We have all the needed material to actually remove them. Do it. Currently, not only is Bison unable to handle huge grammars because of
Or maybe not, but at least do not include them in the automaton. internal limitations, but the test `big triangle' also demonstrates
that it can produce SEGVing executables! Push the limit beyond 124,
and have a core dump. Be my guest: fix this!
* read_pipe.c * read_pipe.c
This is not portable to DOS for instance. Implement a more portable This is not portable to DOS for instance. Implement a more portable

View File

@@ -49,7 +49,7 @@ TESTSUITE_AT = \
output.at sets.at reduce.at \ output.at sets.at reduce.at \
synclines.at headers.at actions.at conflicts.at \ synclines.at headers.at actions.at conflicts.at \
calc.at \ calc.at \
torture.at regression.at \ torture.at existing.at regression.at \
semantic.at semantic.at
TESTSUITE = $(srcdir)/testsuite TESTSUITE = $(srcdir)/testsuite

1209
tests/existing.at Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
# Process this file with autom4te to create testsuite. -*- Autotest -*- # Process this file with autom4te to create testsuite. -*- Autotest -*-
# Test suite for GNU Bison. # Test suite for GNU Bison.
# Copyright 2000, 2001, 2002 Free Software Foundation, Inc. # Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -52,10 +52,13 @@ m4_include([conflicts.at])
# Fulling testing (compilation and execution of the parser) on calc. # Fulling testing (compilation and execution of the parser) on calc.
m4_include([calc.at]) m4_include([calc.at])
# Huge artificial grammars.
# Torturing the stack expansion at runtime. # Torturing the stack expansion at runtime.
# Checking big, real world grammars.
m4_include([torture.at]) m4_include([torture.at])
# Checking big, real world grammars.
m4_include([existing.at])
# Some old bugs. # Some old bugs.
m4_include([regression.at]) m4_include([regression.at])

File diff suppressed because it is too large Load Diff