From 6ee95cd0d900362be987c3910d634e20460d7ad0 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 3 Dec 2012 15:43:57 +0100 Subject: [PATCH] tests: beware of gnulib's need for config.h * tests/skeletons.at, tests/torture.at: Be sure to include config.h where appropriate. --- tests/skeletons.at | 4 ++-- tests/torture.at | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/skeletons.at b/tests/skeletons.at index 7b5b8f27..fa496c97 100644 --- a/tests/skeletons.at +++ b/tests/skeletons.at @@ -114,10 +114,10 @@ main (void) } ]]) -AT_DATA([[input-cmd-line.y]], +AT_DATA_GRAMMAR([[input-cmd-line.y]], [AT_GRAM]) -AT_DATA([[input-gram.y]], +AT_DATA_GRAMMAR([[input-gram.y]], [[%skeleton "yacc.c"] AT_GRAM]) diff --git a/tests/torture.at b/tests/torture.at index 5aa18900..ac9e91ea 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -269,6 +269,7 @@ print < # include # include @@ -383,7 +384,7 @@ m4_define([AT_DATA_STACK_TORTURE], [AT_BISON_OPTION_PUSHDEFS([$2]) # A grammar of parens growing the stack thanks to right recursion. # exp: -AT_DATA([input.y], +AT_DATA_GRAMMAR([input.y], [[%{ #include #include -- 2.47.2