Skip to content

Commit

Permalink
Fix single-thread build
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala committed Jan 16, 2025
1 parent 2c8c9ea commit 510adb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testframe.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,13 @@ static bool TestDoCleanUp_g = true; /* Do cleanup or not. Default is yes. */
int TestFrameworkProcessID_g = 0; /* MPI process rank value for parallel tests */
int TestVerbosity_g = VERBO_DEF; /* Default Verbosity is Low */

static void PerformThreadedTest(TestStruct Test);

#ifdef H5_HAVE_MULTITHREAD
static void *ThreadTestWrapper(void *test);
static int H5_mt_test_thread_setup(int thread_idx);
static int H5_mt_test_global_setup(void);
static void H5_test_thread_info_key_destructor(void *value);
static void PerformThreadedTest(TestStruct Test);
static void UpdateTestStats(TestThreadArgs *test_args);
#endif

Expand Down Expand Up @@ -450,7 +451,6 @@ herr_t
PerformTests(void)
{
int test_num_errs = 0;
int max_num_threads = GetTestMaxNumThreads();

for (unsigned Loop = 0; Loop < TestCount; Loop++) {
bool is_test_mt = (TestArray[Loop].TestFrameworkFlags & ALLOW_MULTITHREAD) && TEST_EXECUTION_THREADED;
Expand Down

0 comments on commit 510adb7

Please sign in to comment.