X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/39ceb25bdbe9fe2a0963f55430a8dd44e82c3161..4b3d3a8e4629cc3b0a6d011d80e1997f8306c304:/tests/torture.at diff --git a/tests/torture.at b/tests/torture.at index 2e0cfc92..47016622 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -57,7 +57,7 @@ EOF for my $size (1 .. $max) { - print "%token \"$size\" ", $size, "\n"; + print "%token t$size $size \"$size\"\n"; }; print < ", " ", - map { "token$_" } (1 .. $max)), + map { "n$_" } (1 .. $max)), "\n"; for my $count (1 .. $max) { - print "%token \"$count\" $count\n"; + print "%token t$count $count \"$count\"\n"; }; print < 5120 is the last possible). -AT_CHECK([./input 10000], 1, [], [ignore]) +AT_PARSER_CHECK([./input 10000], 1, [], [ignore]) AT_CLEANUP @@ -442,11 +441,11 @@ AT_SETUP([Exploding the Stack Size with Malloc]) AT_DATA_STACK_TORTURE([[#define YYSTACK_USE_ALLOCA 0]]) # Below the limit of 200. -AT_CHECK([./input 20], 0, [], [ignore]) +AT_PARSER_CHECK([./input 20], 0, [], [ignore]) # Two enlargements: 2 * 2 * 200. -AT_CHECK([./input 900], 0, [], [ignore]) +AT_PARSER_CHECK([./input 900], 0, [], [ignore]) # Fails: beyond the limit of 10,000 (which we don't reach anyway since we # multiply by two starting at 200 => 5120 is the possible). -AT_CHECK([./input 10000], 1, [], [ignore]) +AT_PARSER_CHECK([./input 10000], 1, [], [ignore]) AT_CLEANUP