summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2015-01-13 14:15:47 +0100
committerAkim Demaille <akim@lrde.epita.fr>2015-01-13 14:19:02 +0100
commitca5a716303f9262572764671ce4e51a0a08d4c94 (patch)
tree46c8d80d6141cc83548a58486be4550ae6605c90
parentd72642d6915dbecd28609d307ef4676d1d5ab448 (diff)
downloadbison-ca5a716303f9262572764671ce4e51a0a08d4c94.tar.gz
tests: split a large test case into several smaller ones
* tests/conflicts.at (AT_CONSISTENT_ERRORS_CHECK): Move AT_SETUP/AT_CLEANUP into it, so that we don't skip non Java tests following a test case in Java.
-rw-r--r--tests/conflicts.at11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/conflicts.at b/tests/conflicts.at
index 819b992d..03b8fa20 100644
--- a/tests/conflicts.at
+++ b/tests/conflicts.at
@@ -393,10 +393,10 @@ AT_CLEANUP
## parse.error=verbose and consistent errors. ##
## ------------------------------------------- ##
-AT_SETUP([[parse.error=verbose and consistent errors]])
-
m4_pushdef([AT_CONSISTENT_ERRORS_CHECK], [
+AT_SETUP([[parse.error=verbose and consistent errors: $1]])
+
AT_BISON_OPTION_PUSHDEFS([$1])
m4_pushdef([AT_YYLEX_PROTOTYPE],
@@ -483,7 +483,11 @@ m4_popdef([AT_EXPECTING])
m4_popdef([AT_YYLEX_PROTOTYPE])
AT_BISON_OPTION_POPDEFS
-])
+AT_CLEANUP
+]) dnl AT_CONSISTENT_ERRORS_CHECK
+
+
+
m4_pushdef([AT_PREVIOUS_STATE_GRAMMAR],
[[%nonassoc 'a';
@@ -653,7 +657,6 @@ m4_popdef([AT_USER_ACTION_INPUT])
m4_popdef([AT_CONSISTENT_ERRORS_CHECK])
-AT_CLEANUP