[PATCH v4 3/8] tests: gmon: Use new tunable handling

Yury Khrustalev yury.khrustalev@arm.com
Tue Apr 21 14:37:59 GMT 2026


Use new way of handling test tunables in the gmon folder.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
---
 gmon/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gmon/Makefile b/gmon/Makefile
index 7a8acda4fe..2a1d2212fa 100644
--- a/gmon/Makefile
+++ b/gmon/Makefile
@@ -81,8 +81,8 @@ CFLAGS-tst-mcount-overflow.c := -fno-omit-frame-pointer -pg
 tst-mcount-overflow-no-pie = yes
 CRT-tst-mcount-overflow := $(csu-objpfx)g$(start-installed-name)
 # Intentionally use invalid config where maxarcs<minarcs to check warning is printed
-tst-mcount-overflow-ENV := GMON_OUT_PREFIX=$(objpfx)tst-mcount-overflow.data \
-                           GLIBC_TUNABLES=glibc.gmon.minarcs=51:glibc.gmon.maxarcs=50
+tst-mcount-overflow-ENV := GMON_OUT_PREFIX=$(objpfx)tst-mcount-overflow.data
+tst-mcount-overflow-TUNABLES += glibc.gmon.minarcs=51:glibc.gmon.maxarcs=50
 # Send stderr into output file because we make sure expected messages are printed
 tst-mcount-overflow-ARGS := 2>&1 1>/dev/null | cat
 ifeq ($(run-built-tests),yes)
-- 
2.47.3



More information about the Libc-alpha mailing list