summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJoel Plutchak <plutchak@hdfgroup.org>2013-05-03 15:39:44 (GMT)
committerJoel Plutchak <plutchak@hdfgroup.org>2013-05-03 15:39:44 (GMT)
commit30f904dbe995184c81f2d3a71214a73b6abc090f (patch)
treed0b2a6da7646d98f587e67a3b654928f4e324886 /test
parent62f6b579d0999a3ff46eb74a6bb35841f0a18eaa (diff)
downloadhdf5-30f904dbe995184c81f2d3a71214a73b6abc090f.zip
hdf5-30f904dbe995184c81f2d3a71214a73b6abc090f.tar.gz
hdf5-30f904dbe995184c81f2d3a71214a73b6abc090f.tar.bz2
[svn-r23667] Removed H5E call.
Diffstat (limited to 'test')
-rw-r--r--test/fillval.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/test/fillval.c b/test/fillval.c
index 28cb5aa..9271f80 100644
--- a/test/fillval.c
+++ b/test/fillval.c
@@ -2106,8 +2106,6 @@ error:
*-------------------------------------------------------------------------
*/
-#define ROWS 4
-#define COLS 4
static int
test_partalloc_cases(hid_t file, hid_t dcpl, const char *dname, H5D_fill_time_t fill_time)
{
@@ -2141,9 +2139,7 @@ test_partalloc_cases(hid_t file, hid_t dcpl, const char *dname, H5D_fill_time_t
/*
* Write single data point to the dataset.
*/
- /*fprintf( stdout, "Writing (%llu,%llu) to file\n", coord[0][0], coord[0][1] );*/
if ((ret = H5Dwrite(dset1, H5T_NATIVE_INT, H5S_ALL, fspace, H5P_DEFAULT, w_values))< 0) {
- H5Eprint( H5E_DEFAULT, stderr );
goto error;
}
@@ -2155,33 +2151,18 @@ test_partalloc_cases(hid_t file, hid_t dcpl, const char *dname, H5D_fill_time_t
start[1] = 0;
count[0] = 1;
count[1] = 4;
- /*
- fprintf( stdout, "Reading (%llu,%llu) --> (%llu,%llu) from file\n",
- start[0]+1, start[1]+1, count[0]+start[0], count[1]+start[1] );
- */
if ((ret = H5Sselect_hyperslab(fspace, H5S_SELECT_SET, start, NULL, count, NULL)) < 0)
goto error;
if ((ret = H5Sselect_all(rspace)) < 0)
goto error;
if(H5Dread(dset1, H5T_NATIVE_INT, rspace, fspace, H5P_DEFAULT, &r_values) < 0)
goto error;
-/*
- HDfprintf(stdout, "%u: Allocated chunk value read:\n", (unsigned)__LINE__);
- printf(" {%ld,%ld,%ld,%ld} should be {%ld,%ld,%ld,%ld}\n",
- (long)r_values[0], (long)r_values[1],
- (long)r_values[2], (long)r_values[3],
- (long)w_values[0], (long)fillval,
- (long)fillval, (long)fillval );
-*/
+
/* Read the third row of elements: all fill */
start[0] = 2;
start[1] = 0;
count[0] = 1;
count[1] = 4;
- /*
- fprintf( stdout, "Reading (%llu,%llu) --> (%llu,%llu) from file\n",
- start[0]+1, start[1]+1, count[0]+start[0], count[1]+start[1] );
- */
if ((ret = H5Sselect_hyperslab(fspace, H5S_SELECT_SET, start, NULL, count, NULL)) < 0)
goto error;
if(H5Dread(dset1, H5T_NATIVE_INT, rspace, fspace, H5P_DEFAULT, &f_values) < 0)