From ee4e958e856b0d165936642d67e8ae0503de106d Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Wed, 22 Jan 2025 15:21:48 +0100 Subject: [PATCH] testing: threads option must be initialized different from 0 in CHAMELEON_TESTINGS_VENDOR mode to avoid a CHAMELEON_Init failure. --- testing/testings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/testings.c b/testing/testings.c index 560e398e8..670ebb75e 100644 --- a/testing/testings.c +++ b/testing/testings.c @@ -107,6 +107,8 @@ testing_options_init( testing_options_t *options ) options->splitsub = parameters_getvalue_int( "splitsub" ); options->threads = parameters_getvalue_int( "threads" ); options->trace = parameters_getvalue_int( "trace" ); +#else + options->threads = -1; #endif options->file = parameters_getvalue_str( "file" ); -- GitLab