summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-07 14:54:20 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-07 14:54:20 (GMT)
commit8d2de5906b4257f44c08f22cfecafb8ff3a2a9dd (patch)
tree49545eeb27ea6e18e5bbacb627708b6916d806ab /test/dsets.c
parent9f2f5b2626dfb1f83d7361296a80e496a40633ab (diff)
downloadhdf5-8d2de5906b4257f44c08f22cfecafb8ff3a2a9dd.zip
hdf5-8d2de5906b4257f44c08f22cfecafb8ff3a2a9dd.tar.gz
hdf5-8d2de5906b4257f44c08f22cfecafb8ff3a2a9dd.tar.bz2
TRILAB-192 - merge changes from develop
Single source, config files, for warnings for both autotools and CMake. Update CMake libraries, tools, tests to use correct flags.
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 5bc4f70..873928e 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -17,12 +17,16 @@
*
* Purpose: Tests the dataset interface (H5D)
*/
+#define H5D_TESTING
#include "testhdf5.h"
#include "H5srcdir.h"
-#ifdef H5_HAVE_SZLIB_H
-# include "szlib.h"
-#endif
+
+/*
+ * This file needs to access private datatypes from the H5D package.
+ */
+#define H5D_PACKAGE
+#include "H5Dpkg.h"
/*
* This file needs to access private datatypes from the H5Z package.
@@ -30,6 +34,10 @@
#define H5Z_PACKAGE
#include "H5Zpkg.h"
+#ifdef H5_HAVE_SZLIB_H
+# include "szlib.h"
+#endif
+
const char *FILENAME[] = {
"dataset",