Skip to content

Commit

Permalink
Debug CI failure on Github
Browse files Browse the repository at this point in the history
Signed-off-by: Quincey Koziol <[email protected]>
  • Loading branch information
qkoziol committed Apr 16, 2024
1 parent 16ae2a5 commit 4ee962f
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 24 deletions.
2 changes: 0 additions & 2 deletions test/ttsafe_acreate.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ tts_acreate(void)
herr_t status;

ttsafe_name_data_t *attrib_data;
fprintf(stderr, "%s: Entering\n", __func__);

/*
* Create an HDF5 file using H5F_ACC_TRUNC access, default file
Expand Down Expand Up @@ -137,7 +136,6 @@ tts_acreate(void)
CHECK(status, FAIL, "H5Dclose");
status = H5Fclose(file);
CHECK(status, FAIL, "H5Fclose");
fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_acreate() */

H5TS_THREAD_RETURN_TYPE
Expand Down
2 changes: 0 additions & 2 deletions test/ttsafe_atomic.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ tts_atomics(void)
{
H5TS_pool_t *pool = NULL;
herr_t result;
fprintf(stderr, "%s: Entering\n", __func__);

/* Initialize the counter */
H5TS_atomic_init_int(&counter_g, 0);
Expand Down Expand Up @@ -175,7 +174,6 @@ tts_atomics(void)
/* Destroy the atomic counter */
H5TS_atomic_destroy_int(&counter_g);

fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_atomics() */

#endif /* H5_HAVE_THREADS */
2 changes: 0 additions & 2 deletions test/ttsafe_attr_vlen.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ tts_attr_vlen(void)
const char *string_attr = "2.0"; /* The attribute data */
int ret; /* Return value */
int i; /* Local index variable */
fprintf(stderr, "%s: Entering\n", __func__);

/* Create the HDF5 test file */
fid = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
Expand Down Expand Up @@ -115,7 +114,6 @@ tts_attr_vlen(void)
if (H5TS_thread_join(threads[i], NULL) < 0)
TestErrPrintf("thread %d failed to join", i);

fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_attr_vlen() */

/* Start execution for each thread */
Expand Down
2 changes: 0 additions & 2 deletions test/ttsafe_dcreate.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ tts_dcreate(void)
{
/* thread definitions */
H5TS_thread_t threads[NUM_THREAD];
fprintf(stderr, "%s: Entering\n", __func__);

/* HDF5 data definitions */
hid_t file = H5I_INVALID_HID;
Expand Down Expand Up @@ -116,7 +115,6 @@ tts_dcreate(void)
/* close remaining resources */
status = H5Fclose(file);
CHECK(status, FAIL, "H5Fclose");
fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_dcreate() */

H5TS_THREAD_RETURN_TYPE
Expand Down
2 changes: 0 additions & 2 deletions test/ttsafe_develop.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ tts_develop_api(void)
tts_develop_api_udata_t udata;
unsigned api_count_1 = 0, api_count_2 = 0;
herr_t result;
fprintf(stderr, "%s: Entering\n", __func__);

/* Check that API count increases with each API call */
result = H5TSmutex_get_attempt_count(&api_count_1);
Expand Down Expand Up @@ -161,7 +160,6 @@ tts_develop_api(void)
CHECK_I(result, "H5TSmutex_release");
VERIFY(lock_count, 2, "H5TSmutex_release");

fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_develop_api() */

#endif /*H5_HAVE_THREADSAFE*/
2 changes: 0 additions & 2 deletions test/ttsafe_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ tts_error(void)
H5TS_thread_t threads[NUM_THREAD];
int value, i;
herr_t status;
fprintf(stderr, "%s: Entering\n", __func__);

/* Must initialize these at runtime */
expected_g[0].maj_num = H5E_DATASET;
Expand Down Expand Up @@ -156,7 +155,6 @@ tts_error(void)

status = H5TS_mutex_destroy(&error_mutex_g);
CHECK_I(status, "H5TS_mutex_destroy");
fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_error() */

static H5TS_THREAD_RETURN_TYPE
Expand Down
8 changes: 0 additions & 8 deletions test/ttsafe_rec_rw_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ tts_rec_rw_lock_smoke_check_1(void)
H5TS_rw_lock_stats_t stats;
#endif
H5TS_rw_lock_t rec_rw_lock;
fprintf(stderr, "%s: Entering\n", __func__);

/* 1) Initialize an instance of the recursive R/W lock. */
result = H5TS__rw_lock_init(&rec_rw_lock);
Expand Down Expand Up @@ -511,7 +510,6 @@ tts_rec_rw_lock_smoke_check_1(void)
/* 25) Shut down the recursive R/W lock. */
result = H5TS__rw_lock_destroy(&rec_rw_lock);
CHECK_I(result, "H5TS__rw_lock_destroy");
fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_rec_rw_lock_smoke_check_1() */

/*
Expand Down Expand Up @@ -565,7 +563,6 @@ tts_rec_rw_lock_smoke_check_2(void)
H5TS_rw_lock_stats_t expected;
#endif
H5TS_rw_lock_t rec_rw_lock;
fprintf(stderr, "%s: Entering\n", __func__);

#if H5TS_ENABLE_REC_RW_LOCK_STATS
/* Reset expected stats fields to zero -- we will construct the expected
Expand Down Expand Up @@ -719,7 +716,6 @@ tts_rec_rw_lock_smoke_check_2(void)
/* discard the udata if it exists */
if (udata)
free(udata);
fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_rec_rw_lock_smoke_check_2() */

/*
Expand Down Expand Up @@ -773,7 +769,6 @@ tts_rec_rw_lock_smoke_check_3(void)
H5TS_rw_lock_stats_t expected;
#endif
H5TS_rw_lock_t rec_rw_lock;
fprintf(stderr, "%s: Entering\n", __func__);

#if H5TS_ENABLE_REC_RW_LOCK_STATS
/* Reset expected stats fields to zero -- we will construct the expected
Expand Down Expand Up @@ -926,7 +921,6 @@ tts_rec_rw_lock_smoke_check_3(void)
/* discard the udata if it exists */
if (udata)
free(udata);
fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_rec_rw_lock_smoke_check_3() */

/*
Expand Down Expand Up @@ -981,7 +975,6 @@ tts_rec_rw_lock_smoke_check_4(void)
H5TS_rw_lock_stats_t expected;
#endif
H5TS_rw_lock_t rec_rw_lock;
fprintf(stderr, "%s: Entering\n", __func__);

#if H5TS_ENABLE_REC_RW_LOCK_STATS
/* Reset expected stats fields to zero -- we will construct the expected
Expand Down Expand Up @@ -1138,7 +1131,6 @@ tts_rec_rw_lock_smoke_check_4(void)
/* discard the udata if it exists */
if (udata)
free(udata);
fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_rec_rw_lock_smoke_check_4() */

#endif /* H5_HAVE_WIN_THREADS */
Expand Down
2 changes: 0 additions & 2 deletions test/ttsafe_thread_id.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ tts_thread_id(void)
uint64_t tid;
int i;
herr_t result;
fprintf(stderr, "%s: Entering\n", __func__);

result = H5TS_mutex_init(&used_lock, H5TS_MUTEX_TYPE_PLAIN);
CHECK_I(result, "H5TS_mutex_lock");
Expand Down Expand Up @@ -134,7 +133,6 @@ tts_thread_id(void)
result = H5TS__barrier_destroy(&barrier);
CHECK_I(result, "H5TS__barrier_destroy");

fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_thread_id() */

#endif /*H5_HAVE_THREADSAFE*/
2 changes: 0 additions & 2 deletions test/ttsafe_thread_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ tts_thread_pool(void)
{
H5TS_pool_t *pool = NULL;
herr_t result;
fprintf(stderr, "%s: Entering\n", __func__);

/* Initialize the counter */
result = H5TS_mutex_init(&counter_g.mutex, H5TS_MUTEX_TYPE_PLAIN);
Expand Down Expand Up @@ -206,7 +205,6 @@ tts_thread_pool(void)
result = H5TS_mutex_destroy(&counter_g.mutex);
CHECK_I(result, "H5TS_mutex_destroy");

fprintf(stderr, "%s: Leaving\n", __func__);
} /* end tts_thread_pool() */

#endif /*H5_HAVE_THREADS*/

0 comments on commit 4ee962f

Please sign in to comment.