summaryrefslogtreecommitdiffstats
path: root/test/th5o.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-03-12 18:53:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-03-12 18:53:15 (GMT)
commit9978c917123901694e25adfd637ae595c3b114f5 (patch)
tree830444028c64b1ed83a225bfe09c96c98cb70643 /test/th5o.c
parent6fb96043f32e90e78b8511f1ee43ea48d19f5ec5 (diff)
downloadhdf5-9978c917123901694e25adfd637ae595c3b114f5.zip
hdf5-9978c917123901694e25adfd637ae595c3b114f5.tar.gz
hdf5-9978c917123901694e25adfd637ae595c3b114f5.tar.bz2
[svn-r23343] HDFFV-8322: for valgrind testing, split-up testhdf5 tests by excluding and running long running tests separately.
Merged from trunk. Tested: local linux
Diffstat (limited to 'test/th5o.c')
-rw-r--r--test/th5o.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/th5o.c b/test/th5o.c
index c46751e..a470f4c 100644
--- a/test/th5o.c
+++ b/test/th5o.c
@@ -111,6 +111,8 @@ test_h5o_open(void)
CHECK(dspace, FAIL, "H5Dget_space");
/* Close the IDs */
+ ret = H5Sclose(dspace);
+ CHECK(ret, FAIL, "H5Sclose");
ret = H5Gclose(grp);
CHECK(ret, FAIL, "H5Gclose");
ret = H5Tclose(dtype);
@@ -324,6 +326,8 @@ test_h5o_open_by_addr(void)
CHECK(dspace, FAIL, "H5Dget_space");
/* Close the IDs */
+ ret = H5Sclose(dspace);
+ CHECK(ret, FAIL, "H5Sclose");
ret = H5Gclose(grp);
CHECK(ret, FAIL, "H5Gclose");
ret = H5Tclose(dtype);