summaryrefslogtreecommitdiff
path: root/tests/torture.at
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2002-10-14 08:43:36 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2002-10-14 08:43:36 +0000
commitb56471a6890db1598d1ed1877b5d01c6b9678243 (patch)
treec259448a1e8fb6b413cbdfda8f9b10bbfe90bc74 /tests/torture.at
parent1318e37d587d59dd1137aea238d3b6d952ba3676 (diff)
downloadbison-b56471a6890db1598d1ed1877b5d01c6b9678243.tar.gz
Say "bison -o foo.c foo.y", not "bison foo.y -o foo.c",
so that the commands still work even if POSIXLY_CORRECT is set.
Diffstat (limited to 'tests/torture.at')
-rw-r--r--tests/torture.at8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/torture.at b/tests/torture.at
index 9354dfad..b9032d0c 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -144,7 +144,7 @@ AT_SETUP([Big triangle])
# With 500 and the new parser, which consume far too much memory,
# it gets killed too. Of course the parser is to be cleaned.
AT_DATA_TRIANGULAR_GRAMMAR([input.y], [200])
-AT_CHECK([bison input.y -v -o input.c])
+AT_CHECK([bison -v -o input.c input.y])
AT_COMPILE([input])
AT_PARSER_CHECK([./input])
@@ -248,7 +248,7 @@ AT_DATA_HORIZONTAL_GRAMMAR([input.y], [1000])
# Ask for 200 MiB, which should be plenty even on a 64-bit host.
AT_INCREASE_DATA_SIZE(204000)
-AT_CHECK([bison input.y -v -o input.c])
+AT_CHECK([bison -v -o input.c input.y])
AT_COMPILE([input])
AT_PARSER_CHECK([./input])
@@ -372,7 +372,7 @@ AT_DATA_LOOKAHEADS_GRAMMAR([input.y], [1000])
# Ask for 200 MiB, which should be plenty even on a 64-bit host.
AT_INCREASE_DATA_SIZE(204000)
-AT_CHECK([bison input.y -v -o input.c])
+AT_CHECK([bison -v -o input.c input.y])
AT_COMPILE([input])
AT_PARSER_CHECK([./input])
@@ -429,7 +429,7 @@ main (int argc, const char **argv)
return yyparse ();
}
]])
-AT_CHECK([bison input.y -o input.c])
+AT_CHECK([bison -o input.c input.y])
AT_COMPILE([input])
])