aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjun Shankar <arjun@redhat.com>2019-11-05 16:41:25 +0100
committerArjun Shankar <ashankar@redhat.com>2019-11-05 17:45:07 +0100
commit81a1fa6cbfef5ca33e7eeb11f8f9a528f4dc0117 (patch)
tree07244a38100a453407f4e4226e3900ab067f09ef
parent3ef5e118f2684bdc3f8e5776269557038705cefb (diff)
downloadglibc-81a1fa6cbfef5ca33e7eeb11f8f9a528f4dc0117.tar
glibc-81a1fa6cbfef5ca33e7eeb11f8f9a528f4dc0117.tar.gz
glibc-81a1fa6cbfef5ca33e7eeb11f8f9a528f4dc0117.tar.bz2
glibc-81a1fa6cbfef5ca33e7eeb11f8f9a528f4dc0117.zip
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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 335155ce3c..fae71aa287 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