summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache_image.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 14:31:56 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:31:56 (GMT)
commit7a44581a84778a1346a2fd5b6cca7d9db905a321 (patch)
tree44ea9c2d1b471eb227698abe8499c34cfa6d47d2 /testpar/t_cache_image.c
parent622fcbd13881fbc58bbeaed3062583b759f5e864 (diff)
downloadhdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.zip
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.gz
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.bz2
Rename HDassert() to assert() (#3191)
* Change HDassert to assert * Fix bin/make_err
Diffstat (limited to 'testpar/t_cache_image.c')
-rw-r--r--testpar/t_cache_image.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/testpar/t_cache_image.c b/testpar/t_cache_image.c
index 86f1696..fc1724f 100644
--- a/testpar/t_cache_image.c
+++ b/testpar/t_cache_image.c
@@ -151,7 +151,7 @@ construct_test_file(int test_file_index)
/* setup the file name */
if (pass) {
- HDassert(FILENAMES[test_file_index]);
+ assert(FILENAMES[test_file_index]);
if (h5_fixname(FILENAMES[test_file_index], H5P_DEFAULT, filename, sizeof(filename)) == NULL) {
@@ -414,9 +414,9 @@ create_data_sets(hid_t file_id, int min_dset, int max_dset)
if (show_progress)
HDfprintf(stdout, "%s: cp = %d.\n", fcn_name, cp++);
- HDassert(0 <= min_dset);
- HDassert(min_dset <= max_dset);
- HDassert(max_dset < MAX_NUM_DSETS);
+ assert(0 <= min_dset);
+ assert(min_dset <= max_dset);
+ assert(max_dset < MAX_NUM_DSETS);
/* create the datasets */
@@ -731,9 +731,9 @@ delete_data_sets(hid_t file_id, int min_dset, int max_dset)
if ( show_progress ) HDfprintf(stdout, "%s: cp = %d.\n", fcn_name, cp++);
- HDassert(0 <= min_dset);
- HDassert(min_dset <= max_dset);
- HDassert(max_dset < MAX_NUM_DSETS);
+ assert(0 <= min_dset);
+ assert(min_dset <= max_dset);
+ assert(max_dset < MAX_NUM_DSETS);
if ( show_progress ) HDfprintf(stdout, "%s: cp = %d.\n", fcn_name, cp++);
@@ -832,7 +832,7 @@ open_hdf5_file(const hbool_t create_file, const hbool_t mdci_sbem_expected, cons
H5AC_cache_image_config_t cache_image_config = {H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION, TRUE, FALSE,
H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE};
- HDassert(!create_file || config_fsm);
+ assert(!create_file || config_fsm);
if (pass) {
/* opening the file both read only and with a cache image
@@ -2053,7 +2053,7 @@ serial_insert_cache_image(int file_name_idx, int mpi_size)
/* 1) setup the file name */
if (pass) {
- HDassert(FILENAMES[file_name_idx]);
+ assert(FILENAMES[file_name_idx]);
if (h5_fixname(FILENAMES[file_name_idx], H5P_DEFAULT, filename, sizeof(filename)) == NULL) {
@@ -2390,9 +2390,9 @@ verify_data_sets(hid_t file_id, int min_dset, int max_dset)
if (show_progress)
HDfprintf(stdout, "%s: cp = %d.\n", fcn_name, cp++);
- HDassert(0 <= min_dset);
- HDassert(min_dset <= max_dset);
- HDassert(max_dset < MAX_NUM_DSETS);
+ assert(0 <= min_dset);
+ assert(min_dset <= max_dset);
+ assert(max_dset < MAX_NUM_DSETS);
/* open the datasets */
@@ -3180,7 +3180,7 @@ smoke_check_1(MPI_Comm mpi_comm, MPI_Info mpi_info, int mpi_rank, int mpi_size)
/* setup the file name */
if (pass) {
- HDassert(FILENAMES[test_file_index]);
+ assert(FILENAMES[test_file_index]);
if (h5_fixname(FILENAMES[test_file_index], H5P_DEFAULT, filename, sizeof(filename)) == NULL) {