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