Make mcheck tests conditional on GLIBC_2.23 or earlier
commit0075c4f39dcc53025103e2919aa74b02f776c1d2
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 22 Jul 2021 13:07:41 +0000 (22 18:37 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 22 Jul 2021 13:07:41 +0000 (22 18:37 +0530)
treea56e4cd6de76038ea1929bb86d3c0e9588c63e3d
parent094ed6b0cc4ef239d197881247431ba37fac0803
Make mcheck tests conditional on GLIBC_2.23 or earlier

Targets with base versions of 2.24 or later won't have
__malloc_initialize_hook because of which the tests will essentially
be the same as the regular malloc tests.  Avoid running them instead
and save time.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
malloc/Makefile