summaryrefslogtreecommitdiff
path: root/tests/regression.at
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@clemson.edu>2009-09-27 14:37:00 -0400
committerJoel E. Denny <jdenny@clemson.edu>2009-09-27 14:37:00 -0400
commitd8f68fc29536fa1c1e7b1b200b1e8088762c3e93 (patch)
tree37e5e4b573261224a64db1403ba7052206aeef38 /tests/regression.at
parent43aabb70a95ecbd20c76797c53554641c3576db4 (diff)
downloadbison-d8f68fc29536fa1c1e7b1b200b1e8088762c3e93.tar.gz
tests: don't abuse AT_BISON_CHECK.
* tests/regression.at (parse-gram.y: LALR = IELR): Move additional shell commands outside of AT_BISON_CHECK.
Diffstat (limited to 'tests/regression.at')
-rw-r--r--tests/regression.at8
1 files changed, 5 insertions, 3 deletions
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