summaryrefslogtreecommitdiffstats
path: root/test/farray.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-28 14:08:44 (GMT)
committerGitHub <noreply@github.com>2023-07-28 14:08:44 (GMT)
commit9ef2f993cfc7173712729fb40b34d1edae8509d9 (patch)
tree937a98f4d50cf0cca08fa105ae37589aedb8975c /test/farray.c
parentf563c2b926445f7a975553bc7742a38f42d3b6f4 (diff)
downloadhdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.zip
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.gz
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.bz2
Sync test dir w/ develop (#3303)
Diffstat (limited to 'test/farray.c')
-rw-r--r--test/farray.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/farray.c b/test/farray.c
index ff5685a..a7a4125 100644
--- a/test/farray.c
+++ b/test/farray.c
@@ -95,7 +95,7 @@ struct farray_test_param_t {
};
/* Local variables */
-const char *FILENAME[] = {"farray", "farray_tmp", NULL};
+static const char *FILENAME[] = {"farray", "farray_tmp", NULL};
/* Filename to use for all tests */
char filename_g[FARRAY_FILENAME_LEN];
@@ -443,7 +443,7 @@ test_create(hid_t fapl, H5FA_create_t *cparam, farray_test_param_t H5_ATTR_UNUSE
{
fa = H5FA_create(f, &test_cparam, NULL);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (fa) {
/* Close opened fixed array */
H5FA_close(fa);
@@ -460,7 +460,7 @@ test_create(hid_t fapl, H5FA_create_t *cparam, farray_test_param_t H5_ATTR_UNUSE
{
fa = H5FA_create(f, &test_cparam, NULL);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (fa) {
/* Close opened fixed array */
H5FA_close(fa);
@@ -477,7 +477,7 @@ test_create(hid_t fapl, H5FA_create_t *cparam, farray_test_param_t H5_ATTR_UNUSE
{
fa = H5FA_create(f, &test_cparam, NULL);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (fa) {
/* Close opened fixed array */
H5FA_close(fa);
@@ -528,7 +528,7 @@ error:
H5FA_close(fa);
H5Fclose(file);
}
- H5E_END_TRY;
+ H5E_END_TRY
return 1;
} /* end test_create() */
@@ -596,7 +596,7 @@ error:
H5FA_close(fa);
H5Fclose(file);
}
- H5E_END_TRY;
+ H5E_END_TRY
return 1;
} /* test_reopen() */
@@ -699,7 +699,7 @@ error:
H5Fclose(fid);
H5Fclose(fid2);
}
- H5E_END_TRY;
+ H5E_END_TRY
return 1;
} /* test_open_twice() */
@@ -832,7 +832,7 @@ error:
H5Fclose(fid0);
H5Fclose(fid00);
}
- H5E_END_TRY;
+ H5E_END_TRY
return 1;
} /* test_open_twice_diff() */
@@ -894,7 +894,7 @@ test_delete_open(hid_t fapl, H5FA_create_t *cparam, farray_test_param_t *tparam)
{
fa2 = H5FA_open(f, fa_addr, NULL);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (fa2) {
/* Close opened array */
H5FA_close(fa2);
@@ -917,7 +917,7 @@ test_delete_open(hid_t fapl, H5FA_create_t *cparam, farray_test_param_t *tparam)
{
fa = H5FA_open(f, fa_addr, NULL);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (fa) {
/* Close opened array */
H5FA_close(fa);
@@ -952,7 +952,7 @@ error:
H5FA_close(fa2);
H5Fclose(file);
}
- H5E_END_TRY;
+ H5E_END_TRY
return 1;
} /* test_delete_open() */
@@ -1476,7 +1476,7 @@ error:
H5FA_close(fa);
H5Fclose(file);
}
- H5E_END_TRY;
+ H5E_END_TRY
return 1;
} /* test_set_elmts() */
@@ -1604,7 +1604,7 @@ error:
H5FA_close(fa);
H5Fclose(file);
}
- H5E_END_TRY;
+ H5E_END_TRY
return 1;
} /* test_skip_elmts() */
@@ -1796,7 +1796,7 @@ error:
{
H5Pclose(fapl);
}
- H5E_END_TRY;
+ H5E_END_TRY
if (api_ctx_pushed)
H5CX_pop(FALSE);