Skip to content

Commit

Permalink
Fix run-one-test so that it runs elf tests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
submachine committed Nov 5, 2019
1 parent 3ef5e11 commit 81a1fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 81a1fa6

Please sign in to comment.