From 3b84088d4a5b782a0664249b80126eed8bf5c3ab Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Fri, 13 Jun 2025 16:39:45 +0800 Subject: [PATCH] multi: enable passing flag `basedir` to `make itest` --- make/testing_flags.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/make/testing_flags.mk b/make/testing_flags.mk index 1826e00ea..7e4ba5b0e 100644 --- a/make/testing_flags.mk +++ b/make/testing_flags.mk @@ -34,6 +34,11 @@ ifneq ($(shuffleseed),) SHUFFLE_SEED = $(shuffleseed) endif +# Set the base dir if specified. +ifneq ($(basedir),) +ITEST_FLAGS += -basedir=$(basedir) +endif + # Windows needs to append a .exe suffix to all executable files, otherwise it # won't run them. ifneq ($(windows),)