]> git.saurik.com Git - bison.git/commitdiff
tests: don't abuse AT_BISON_CHECK.
authorJoel E. Denny <jdenny@clemson.edu>
Sun, 27 Sep 2009 18:37:00 +0000 (14:37 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Sun, 27 Sep 2009 18:41:20 +0000 (14:41 -0400)
* tests/regression.at (parse-gram.y: LALR = IELR): Move
additional shell commands outside of AT_BISON_CHECK.
(cherry picked from commit d8f68fc29536fa1c1e7b1b200b1e8088762c3e93)

Conflicts:

tests/regression.at

ChangeLog
tests/regression.at

index add4c23881095b80cc26711148030e6e50a0c326..4b233db98e607d6706f4ddbc0f4cedc2cf8e8373 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index b2fa98b78e6abfc3e7ed6ad92dd1fa3ef8e1c6e0..cf6534607d17b590f32a101967f4a44a9a7c999f 100644 (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