summaryrefslogtreecommitdiffstats
path: root/test/testhdf5.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testhdf5.c')
-rw-r--r--test/testhdf5.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/testhdf5.c b/test/testhdf5.c
index b122606..40abfb5 100644
--- a/test/testhdf5.c
+++ b/test/testhdf5.c
@@ -152,6 +152,13 @@ main(int argc, char *argv[])
setbuf(stdout, NULL);
#endif
+ /*
+ * Turn off automatic error reporting since we do it ourselves. Besides,
+ * half the functions this test calls are private, so automatic error
+ * reporting wouldn't do much good since it's triggered at the API layer.
+ */
+ H5Eset_auto (NULL, NULL);
+
/* Tests are generally arranged from least to most complexity... */
InitTest("metadata", test_metadata, "Encode/decode metadata code");
InitTest("file", test_file, "Low-Level File I/O");