[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] tests: beware of gnulib's need for config.h
From: |
Akim Demaille |
Subject: |
[PATCH 1/3] tests: beware of gnulib's need for config.h |
Date: |
Mon, 3 Dec 2012 16:05:42 +0100 |
* 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 7b5b8f2..fa496c9 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 5aa1890..ac9e91e 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -269,6 +269,7 @@ print <<EOF;
%error-verbose
%debug
%{
+]AT_DATA_SOURCE_PROLOGUE[
# include <stdio.h>
# include <stdlib.h>
# include <assert.h>
@@ -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 <errno.h>
#include <limits.h>
--
1.8.0.1