mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
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>
This commit is contained in:
parent
3ef5e118f2
commit
81a1fa6cbf
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user