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 f326d6d commit bee3f73
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ttsafe_atomic.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ 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 @@ -174,6 +175,7 @@ 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 */
8 changes: 8 additions & 0 deletions test/ttsafe_rec_rw_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ 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 @@ -510,6 +511,7 @@ 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 @@ -563,6 +565,7 @@ 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 @@ -716,6 +719,7 @@ 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 @@ -769,6 +773,7 @@ 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 @@ -921,6 +926,7 @@ 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 @@ -975,6 +981,7 @@ 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 @@ -1131,6 +1138,7 @@ 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

0 comments on commit bee3f73

Please sign in to comment.