[PATCH v4 4/8] tests: misc: Use new tunable handling
Yury Khrustalev
yury.khrustalev@arm.com
Tue Apr 21 14:38:00 GMT 2026
Use new way of handling test tunables in the misc folder.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
---
misc/Makefile | 4 ++--
sysdeps/unix/sysv/linux/Makefile | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/misc/Makefile b/misc/Makefile
index 4395366d74..3ebba61da6 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -374,8 +374,8 @@ $(objpfx)tst-allocate_once-mem.out: $(objpfx)tst-allocate_once.out
$(common-objpfx)malloc/mtrace $(objpfx)tst-allocate_once.mtrace > $@; \
$(evaluate-test)
-tst-syslog-long-progname-ENV = GLIBC_TUNABLES=glibc.malloc.check=3 \
- LD_PRELOAD=libc_malloc_debug.so.0
+tst-syslog-long-progname-ENV = LD_PRELOAD=libc_malloc_debug.so.0
+tst-syslog-long-progname-TUNABLES += glibc.malloc.check=3
$(objpfx)tst-select: $(librt)
$(objpfx)tst-select-time64: $(librt)
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 0d47e9af57..63e7046cb3 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -413,8 +413,8 @@ $(objpfx)tst-sched-consts.out: ../sysdeps/unix/sysv/linux/tst-sched-consts.py
< /dev/null > $@ 2>&1; $(evaluate-test)
$(objpfx)tst-sched-consts.out: $(sysdeps-linux-python-deps)
-tst-rseq-disable-ENV = GLIBC_TUNABLES=glibc.pthread.rseq=0
-tst-rseq-disable-static-ENV = GLIBC_TUNABLES=glibc.pthread.rseq=0
+tst-rseq-disable-TUNABLES += glibc.pthread.rseq=0
+tst-rseq-disable-static-TUNABLES += glibc.pthread.rseq=0
endif # $(subdir) == misc
--
2.47.3
More information about the Libc-alpha
mailing list