X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/b5b61c616b6a42a9f3a9cc0e9aeaf5124e7cffc5..a5d5099417229a48aa18477073266e9aa3b77a8e:/tests/headers.at?ds=sidebyside diff --git a/tests/headers.at b/tests/headers.at index 3f8ea961..c7fb8083 100644 --- a/tests/headers.at +++ b/tests/headers.at @@ -57,7 +57,7 @@ AS_MKDIR_P([$dirname]) AT_DATA([$1.y], [%% -dummy: +dummy:; ]) AT_CHECK([bison --defines=$1.h $1.y]) @@ -123,7 +123,7 @@ main (void) # Link and execute, just to make sure everything is fine (and in # particular, that MY_LLOC is indeed defined somewhere). -AT_CHECK([$CC $CFLAGS $CPPFLAGS caller.c input.c -o caller], 0, [], [ignore]) -AT_CHECK([caller]) +AT_COMPILE([caller], [caller.c input.c]) +AT_PARSER_CHECK([./caller]) AT_CLEANUP