summaryrefslogtreecommitdiffstats
path: root/test/set_extent.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-09-04 03:43:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-09-04 03:43:08 (GMT)
commitc348f9405e134e722edfb0c26133c471c926c64d (patch)
treef66158c803ddc4e6115da101aaf3c37a98c000d5 /test/set_extent.c
parentd68991eec0cbb459422bb09017c6215259f57fff (diff)
downloadhdf5-c348f9405e134e722edfb0c26133c471c926c64d.zip
hdf5-c348f9405e134e722edfb0c26133c471c926c64d.tar.gz
hdf5-c348f9405e134e722edfb0c26133c471c926c64d.tar.bz2
[svn-r19351] Description:
Minor code cleanups to align w/trunk. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (h5committest not required on this branch)
Diffstat (limited to 'test/set_extent.c')
-rw-r--r--test/set_extent.c28
1 files changed, 8 insertions, 20 deletions
diff --git a/test/set_extent.c b/test/set_extent.c
index 4351635..8de5649 100644
--- a/test/set_extent.c
+++ b/test/set_extent.c
@@ -291,29 +291,25 @@ static int do_ranks( hid_t fapl, hbool_t new_format )
if(H5Pset_fill_time(dcpl, H5D_FILL_TIME_ALLOC) < 0)
TEST_ERROR
- if(test_rank1(fapl, dcpl, do_fillvalue, disable_edge_filters,
- FALSE) < 0) {
+ if(test_rank1(fapl, dcpl, do_fillvalue, disable_edge_filters, FALSE) < 0) {
DO_RANKS_PRINT_CONFIG("Rank 1")
printf(" Fill time: %s\n", (ifset ? "H5D_FILL_TIME_IFSET"
: "H5D_FILL_TIME_ALLOC"));
goto error;
} /* end if */
- if(test_rank2(fapl, dcpl, do_fillvalue, disable_edge_filters,
- FALSE) < 0) {
+ if(test_rank2(fapl, dcpl, do_fillvalue, disable_edge_filters, FALSE) < 0) {
DO_RANKS_PRINT_CONFIG("Rank 2")
printf(" Fill time: %s\n", (ifset ? "H5D_FILL_TIME_IFSET"
: "H5D_FILL_TIME_ALLOC"));
goto error;
} /* end if */
- if(test_rank3(fapl, dcpl, do_fillvalue, disable_edge_filters,
- FALSE) < 0) {
+ if(test_rank3(fapl, dcpl, do_fillvalue, disable_edge_filters, FALSE) < 0) {
DO_RANKS_PRINT_CONFIG("Rank 3")
printf(" Fill time: %s\n", (ifset ? "H5D_FILL_TIME_IFSET"
: "H5D_FILL_TIME_ALLOC"));
goto error;
} /* end if */
- if(test_rank2(fapl, dcpl, do_fillvalue, disable_edge_filters,
- TRUE) < 0) {
+ if(test_rank2(fapl, dcpl, do_fillvalue, disable_edge_filters, TRUE) < 0) {
DO_RANKS_PRINT_CONFIG("Rank 2 with non-default indexed storage B-tree")
printf(" Fill time: %s\n", (ifset ? "H5D_FILL_TIME_IFSET"
: "H5D_FILL_TIME_ALLOC"));
@@ -327,23 +323,19 @@ static int do_ranks( hid_t fapl, hbool_t new_format )
if(H5Pset_fill_time(dcpl, H5D_FILL_TIME_ALLOC) < 0)
TEST_ERROR
- if(test_rank1(fapl, dcpl, do_fillvalue, disable_edge_filters, FALSE)
- < 0) {
+ if(test_rank1(fapl, dcpl, do_fillvalue, disable_edge_filters, FALSE) < 0) {
DO_RANKS_PRINT_CONFIG("Rank 1")
goto error;
} /* end if */
- if(test_rank2(fapl, dcpl, do_fillvalue, disable_edge_filters, FALSE)
- < 0) {
+ if(test_rank2(fapl, dcpl, do_fillvalue, disable_edge_filters, FALSE) < 0) {
DO_RANKS_PRINT_CONFIG("Rank 2")
goto error;
} /* end if */
- if(test_rank3(fapl, dcpl, do_fillvalue, disable_edge_filters, FALSE)
- < 0) {
+ if(test_rank3(fapl, dcpl, do_fillvalue, disable_edge_filters, FALSE) < 0) {
DO_RANKS_PRINT_CONFIG("Rank 3")
goto error;
} /* end if */
- if(test_rank2(fapl, dcpl, do_fillvalue, disable_edge_filters, TRUE)
- < 0) {
+ if(test_rank2(fapl, dcpl, do_fillvalue, disable_edge_filters, TRUE) < 0) {
DO_RANKS_PRINT_CONFIG("Rank 2 with non-default indexed storage B-tree")
goto error;
} /* end if */
@@ -431,14 +423,10 @@ static int do_layouts( hid_t fapl )
TESTING("storage layout use");
if (test_layouts( H5D_COMPACT, fapl ) < 0)
- {
goto error;
- }
if (test_layouts( H5D_CONTIGUOUS, fapl ) < 0)
- {
goto error;
- }
PASSED();