diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-09-08 16:44:20 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-09-08 16:44:20 (GMT) |
commit | e424a22c1d2e839e7feab1f040dc0914fc416f1f (patch) | |
tree | b9e9a11e9ff2744fdd32c1f40c1ee9b0c34a7538 | |
parent | 05d51c036140f94a07efb75aab9675b3b4bd5ef0 (diff) | |
download | hdf5-e424a22c1d2e839e7feab1f040dc0914fc416f1f.zip hdf5-e424a22c1d2e839e7feab1f040dc0914fc416f1f.tar.gz hdf5-e424a22c1d2e839e7feab1f040dc0914fc416f1f.tar.bz2 |
[svn-r25578] include H5Fpkg.h in tests that use the H5F_t struct.
-rw-r--r-- | test/btree2.c | 8 | ||||
-rw-r--r-- | test/earray.c | 8 | ||||
-rw-r--r-- | test/farray.c | 8 | ||||
-rw-r--r-- | test/gheap.c | 8 | ||||
-rw-r--r-- | test/lheap.c | 8 |
5 files changed, 40 insertions, 0 deletions
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 |