X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5a08f1ce215ab931d571cd9331309c2785bc8551..c0cac722f7e5d7498528a67a37477cdf9ed1745c:/tests/actions.at diff --git a/tests/actions.at b/tests/actions.at index 5331bfc6..ff230918 100644 --- a/tests/actions.at +++ b/tests/actions.at @@ -73,8 +73,8 @@ main (void) ]]) AT_CHECK([bison input.y -d -v -o input.c]) -AT_CHECK([$CC $CFLAGS $CPPFLAGS input.c -o input], 0, [], [ignore]) -AT_CHECK([./input], 0, +AT_COMPILE([input]) +AT_PARSER_CHECK([./input], 0, [[0123456789 ]]) @@ -144,8 +144,8 @@ main (void) ]]) AT_CHECK([bison input.y -d -v -o input.c]) -AT_CHECK([$CC $CFLAGS $CPPFLAGS input.c -o input], 0, [], [ignore]) -AT_CHECK([./input], 0, +AT_COMPILE([input]) +AT_PARSER_CHECK([./input], 0, [[15 ]]) @@ -296,8 +296,8 @@ main (void) ]]) AT_CHECK([bison input.y --location -d -v -o input.c]) -AT_CHECK([$CC $CFLAGS $CPPFLAGS input.c -o input], 0, [], [ignore]) -AT_CHECK([./input], 1, +AT_COMPILE([input]) +AT_PARSER_CHECK([./input], 1, [[sending: 'x' (value = 0, line 0) thing(0): 'x'(0) sending: 'x' (value = 1, line 10) @@ -327,7 +327,7 @@ thing(10): 'x'(10) sending: ';' (value = 11, line 110) line(10): thing(10) ';' sending: 'y' (value = 12, line 120) -120: parse error, unexpected $undefined., expecting $ or error or 'x' +120: parse error, unexpected $undefined, expecting $end or 'x' sending: EOF Freeing nterm line (10 from 100) Freeing nterm line (7 from 70)