public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf/tests: Make thrlock and noload depend on libm
@ 2021-07-08  8:11 Siddhesh Poyarekar
  0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2021-07-08  8:11 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5ceb1630bdb2302f927fabb812252a6d88168918

commit 5ceb1630bdb2302f927fabb812252a6d88168918
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date:   Thu Jul 8 13:39:19 2021 +0530

    elf/tests: Make thrlock and noload depend on libm
    
    Both tests try to dlopen libm.so at runtime, so make them depend on it
    so that they're executed if libm.so has been updated.
    
    Reviewed-by: Florian Weimer <fweimer@redhat.com>

Diff:
---
 elf/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elf/Makefile b/elf/Makefile
index b1e01d9516..4b320e8b3a 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1281,6 +1281,8 @@ tst-leaks1-ENV = MALLOC_TRACE=$(objpfx)tst-leaks1.mtrace
 tst-leaks1-static-ENV = MALLOC_TRACE=$(objpfx)tst-leaks1-static.mtrace
 
 $(objpfx)tst-thrlock: $(shared-thread-library)
+$(objpfx)tst-thrlock.out: $(libm)
+$(objpfx)tst-noload.out: $(libm)
 
 tst-tst-dlopen-tlsmodid-no-pie = yes
 $(objpfx)tst-dlopen-tlsmodid: $(shared-thread-library)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-08  8:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08  8:11 [glibc] elf/tests: Make thrlock and noload depend on libm Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).