From d9549a6c5ac301b1169b75295577dd8e6959e553 Mon Sep 17 00:00:00 2001 From: Kgothatso Ngako Date: Mon, 31 Aug 2026 13:25:26 +0200 Subject: [PATCH] tests: raise MAX_ARGS from 200 to 400 With the chilldkg (and iceberg) modules enabled, the unit test binary registers more than 200 tests (213 with all modules on), tripping the "Number of tests exceeds MAX_ARGS" internal error in unit_test.c and bailing before running anything -- both tests and noverify_tests were unrunnable in the all-modules CI rows. MAX_ARGS must be at least the total number of registered tests; 400 leaves headroom for future modules and vector-suite growth. --- src/unit_test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unit_test.h b/src/unit_test.h index 6f67204d..d96c7e72 100644 --- a/src/unit_test.h +++ b/src/unit_test.h @@ -15,7 +15,7 @@ /* Maximum number of command-line arguments. * Must be at least as large as the total number of tests * to allow specifying all tests individually. */ -#define MAX_ARGS 200 +#define MAX_ARGS 400 /* Maximum number of parallel jobs */ #define MAX_SUBPROCESSES 16