[glibc] tests: gmon: Use new tunable handling

Yury Khrustalev via Glibc-cvs <[email protected]>
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c65a27262a10f3616106354441298a43ada1c96b

commit c65a27262a10f3616106354441298a43ada1c96b
Author: Yury Khrustalev <[email protected]>
Date:   Thu Apr 16 14:49:31 2026 +0100

    tests: gmon: Use new tunable handling
    
    Use new way of handling test tunables in the gmon folder.
    
    Reviewed-by: Adhemerval Zanella  <[email protected]>

Diff:
---
 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.