[PATCH v3 4/8] tests: misc: Use new tunable handling
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Tue Apr 21 13:09:12 GMT 2026
On 16/04/26 11:30, Yury Khrustalev wrote:
> Use new way of handling test tunables in the misc folder.
LGTM, thanks.
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 94608b436b..768584357c 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
>
More information about the Libc-alpha
mailing list