public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Fix run-one-test so that it runs elf tests
@ 2019-11-05 16:45 Arjun Shankar
  0 siblings, 0 replies; only message in thread
From: Arjun Shankar @ 2019-11-05 16:45 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=81a1fa6cbfef5ca33e7eeb11f8f9a528f4dc0117

commit 81a1fa6cbfef5ca33e7eeb11f8f9a528f4dc0117
Author: Arjun Shankar <arjun@redhat.com>
Date:   Tue Nov 5 16:41:25 2019 +0100

    Fix run-one-test so that it runs elf tests
    
    The `test' make target passes a trailing slash in the subdir argument.  This
    does not play well with elf/rtld-Rules which looks for `elf' without any
    trailing slash, and therefore doesn't find a match when running an elf test
    individually.  This commit removes the trailing slash from the invocation.
    
    Reviewed-by: DJ Delorie <dj@redhat.com>

Diff:
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 335155c..fae71aa 100644
--- a/Makefile
+++ b/Makefile
@@ -691,6 +691,6 @@ iconvdata/% localedata/% po/%: FORCE
 .PHONY: test
 test :
 	@-rm -f $(objpfx)$t.out
-	$(MAKE) subdir=$(dir $t) -C $(dir $t) ..=../ $(objpfx)$t.out
+	$(MAKE) subdir=$(patsubst %/,%,$(dir $t)) -C $(dir $t) ..=../ $(objpfx)$t.out
 	@cat $(objpfx)$t.test-result
 	@cat $(objpfx)$t.out


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

only message in thread, other threads:[~2019-11-05 16:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 16:45 [glibc] Fix run-one-test so that it runs elf tests Arjun Shankar

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).