From: Joel E. Denny Date: Sun, 27 Sep 2009 18:37:00 +0000 (-0400) Subject: tests: don't abuse AT_BISON_CHECK. X-Git-Tag: v2.7.90~763 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/d8f68fc29536fa1c1e7b1b200b1e8088762c3e93?ds=inline tests: don't abuse AT_BISON_CHECK. * tests/regression.at (parse-gram.y: LALR = IELR): Move additional shell commands outside of AT_BISON_CHECK. --- diff --git a/ChangeLog b/ChangeLog index f24be8a6..a0b43145 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-09-27 Joel E. Denny + + 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 tests: check that parse-gram.y's IELR and LALR are identical. diff --git a/tests/regression.at b/tests/regression.at index 2482189c..cfc071e6 100644 --- a/tests/regression.at +++ b/tests/regression.at @@ -1252,9 +1252,11 @@ AT_SETUP([[parse-gram.y: LALR = IELR]]) # Avoid tests/bison's dark magic by processing a local copy of the # grammar. 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