From patchwork Tue Nov 5 16:19:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arjun Shankar X-Patchwork-Id: 35653 Received: (qmail 37454 invoked by alias); 5 Nov 2019 16:19:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 37444 invoked by uid 89); 5 Nov 2019 16:19:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=H*F:D*se, H*r:120 X-HELO: aloka.lostca.se DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=lostca.se; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; s=howrah; bh=Y6IE5LTPKi1a4mpyHXFy1kP AtF4=; b=eAeqqP0fRGxapZ+XfqOK1/oOIWaQuDiYxwCq6jM7SN/DjAdtUiUkzWH zttO3kiryztd62ARWc7z/Y27F3pgsnf/DMBXuZwxLeqfFhkyptmDeIqJyHqUkL95 gi1E2+LBLai9VCd+PyGL3TPnY9zl7tlJJXPBI5/bzqO41pX8zyBY= Date: Tue, 5 Nov 2019 16:19:52 +0000 From: Arjun Shankar To: libc-alpha@sourceware.org Subject: [PATCH] Fix run-one-test so that it runs elf tests Message-ID: <20191105161951.GA52837@aloka.lostca.se> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) From: Arjun Shankar 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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