From e424a22c1d2e839e7feab1f040dc0914fc416f1f Mon Sep 17 00:00:00 2001 From: Mohamad Chaarawi Date: Mon, 8 Sep 2014 11:44:20 -0500 Subject: [svn-r25578] include H5Fpkg.h in tests that use the H5F_t struct. --- test/btree2.c | 8 ++++++++ test/earray.c | 8 ++++++++ test/farray.c | 8 ++++++++ test/gheap.c | 8 ++++++++ test/lheap.c | 8 ++++++++ 5 files changed, 40 insertions(+) diff --git a/test/btree2.c b/test/btree2.c index 7c5f54a..0fad793 100644 --- a/test/btree2.c +++ b/test/btree2.c @@ -26,6 +26,14 @@ #define H5B2_TESTING #include "H5B2pkg.h" +/* + * This file needs to access private information from the H5F package. + * This file also needs to access the file testing code. + */ +#define H5F_PACKAGE +#define H5F_TESTING +#include "H5Fpkg.h" /* File access */ + /* Other private headers that this test requires */ #include "H5Iprivate.h" diff --git a/test/earray.c b/test/earray.c index 4831f5f..5eb4adb 100644 --- a/test/earray.c +++ b/test/earray.c @@ -26,6 +26,14 @@ #define H5EA_TESTING #include "H5EApkg.h" /* Extensible Arrays */ +/* + * This file needs to access private information from the H5F package. + * This file also needs to access the file testing code. + */ +#define H5F_PACKAGE +#define H5F_TESTING +#include "H5Fpkg.h" /* File access */ + /* Other private headers that this test requires */ #include "H5Iprivate.h" /* IDs */ #include "H5VMprivate.h" /* Vectors and arrays */ diff --git a/test/farray.c b/test/farray.c index 160aa8c..ce81f7d 100644 --- a/test/farray.c +++ b/test/farray.c @@ -26,6 +26,14 @@ #define H5FA_TESTING #include "H5FApkg.h" /* Fixed Arrays */ +/* + * This file needs to access private information from the H5F package. + * This file also needs to access the file testing code. + */ +#define H5F_PACKAGE +#define H5F_TESTING +#include "H5Fpkg.h" /* File access */ + /* Other private headers that this test requires */ #include "H5Iprivate.h" /* IDs */ #include "H5VMprivate.h" /* Vectors and arrays */ diff --git a/test/gheap.c b/test/gheap.c index d1323c3..6233139 100644 --- a/test/gheap.c +++ b/test/gheap.c @@ -30,6 +30,14 @@ #include "H5Iprivate.h" #include "H5Pprivate.h" +/* + * This file needs to access private information from the H5F package. + * This file also needs to access the file testing code. + */ +#define H5F_PACKAGE +#define H5F_TESTING +#include "H5Fpkg.h" /* File access */ + /* Macros for printing error messages in loops. These print up to * GHEAP_REPEATED_ERR_LIM errors, and suppress the rest */ #define GHEAP_REPEATED_ERR_LIM 20 diff --git a/test/lheap.c b/test/lheap.c index 10f5ca3..40ee47a 100644 --- a/test/lheap.c +++ b/test/lheap.c @@ -25,6 +25,14 @@ #include "H5HLprivate.h" #include "H5Iprivate.h" +/* + * This file needs to access private information from the H5F package. + * This file also needs to access the file testing code. + */ +#define H5F_PACKAGE +#define H5F_TESTING +#include "H5Fpkg.h" /* File access */ + const char *FILENAME[] = { "lheap", NULL -- cgit v0.12