mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
malloc: Run tunables tests only if tunables are enabled
Otherwise, the environment variable will not have any effect and the test will fail.
This commit is contained in:
@ -33,13 +33,16 @@ tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
|
||||
tst-mallocfork2 \
|
||||
tst-interpose-nothread \
|
||||
tst-interpose-thread \
|
||||
tst-malloc-usable-tunables
|
||||
|
||||
tests-static := \
|
||||
tst-interpose-static-nothread \
|
||||
tst-interpose-static-thread \
|
||||
tst-malloc-usable-static \
|
||||
tst-malloc-usable-static-tunables
|
||||
|
||||
ifneq (no,$(have-tunables))
|
||||
tests += tst-malloc-usable-tunables
|
||||
tests-static += tst-malloc-usable-static-tunables
|
||||
endif
|
||||
|
||||
tests += $(tests-static)
|
||||
test-srcs = tst-mtrace
|
||||
|
Reference in New Issue
Block a user