tests: don't abuse AT_BISON_CHECK.

* tests/regression.at (parse-gram.y: LALR = IELR): Move
additional shell commands outside of AT_BISON_CHECK.
(cherry picked from commit d8f68fc295)

Conflicts:

	tests/regression.at
This commit is contained in:
Joel E. Denny
2009-09-27 14:37:00 -04:00
parent 873ac263c8
commit 4b7a4c1b1c
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2009-09-27 Joel E. Denny <jdenny@clemson.edu>
tests: don't abuse AT_BISON_CHECK.
* tests/regression.at (parse-gram.y: LALR = IELR): Move
additional shell commands outside of AT_BISON_CHECK.
2009-09-26 Joel E. Denny <jdenny@clemson.edu>
tests: check that parse-gram.y's IELR and LALR are identical.

View File

@@ -1260,9 +1260,11 @@ AT_SETUP([[parse-gram.y: LALR = IELR]])
# Avoid differences in synclines by telling bison that the output files
# have the same name.
cp $abs_top_srcdir/src/parse-gram.y input.y
AT_BISON_CHECK([[-o input.c -Dlr.type=lalr input.y && mv input.c lalr.c]])
AT_BISON_CHECK([[-o input.c -Dlr.type=ielr input.y && mv input.c ielr.c]])
[cp $abs_top_srcdir/src/parse-gram.y input.y]
AT_BISON_CHECK([[-o input.c -Dlr.type=lalr input.y]])
[mv input.c lalr.c]
AT_BISON_CHECK([[-o input.c -Dlr.type=ielr input.y]])
[mv input.c ielr.c]
AT_CHECK([[diff -u lalr.c ielr.c]])
AT_CLEANUP