summaryrefslogtreecommitdiffstats
path: root/test/testhdf5.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2008-01-09 21:32:25 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2008-01-09 21:32:25 (GMT)
commita594026a470785ae882d5a822b2ac50866038615 (patch)
tree2f71b08bb2b6f10fe0fdb14c6711141cffff1c0e /test/testhdf5.c
parente3eeacdc731e349688612eb2c704586988706f52 (diff)
downloadhdf5-a594026a470785ae882d5a822b2ac50866038615.zip
hdf5-a594026a470785ae882d5a822b2ac50866038615.tar.gz
hdf5-a594026a470785ae882d5a822b2ac50866038615.tar.bz2
[svn-r14386] Bug fix for #956. The calculation of the coordinates for dataspace selection went wrong when
the selection of some dimensions are full and these dimensions are optimized through "flattenning". The calculation of the coordinates wasn't general enough in H5Shyper.c. Also added a test program for it. Tested on smirom only because the same code was tested on 3 platforms for v1.8.
Diffstat (limited to 'test/testhdf5.c')
-rw-r--r--test/testhdf5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testhdf5.c b/test/testhdf5.c
index 9d85b08..6065d64 100644
--- a/test/testhdf5.c
+++ b/test/testhdf5.c
@@ -52,6 +52,7 @@ main(int argc, char *argv[])
AddTest("refstr", test_refstr, NULL, "Reference Counted Strings", NULL);
AddTest("file", test_file, cleanup_file, "Low-Level File I/O", NULL);
AddTest("h5s", test_h5s, cleanup_h5s, "Dataspaces", NULL);
+ AddTest("coords", test_coords, cleanup_coords, "Dataspace coordinates", NULL);
AddTest("attr", test_attr, cleanup_attr, "Attributes", NULL);
AddTest("select", test_select, cleanup_select, "Selections", NULL);
AddTest("time", test_time, cleanup_time, "Time Datatypes", NULL);