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: 1189777 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-106655-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lostca.se Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="YxZ8MuJ9"; dkim=pass (1024-bit key; unprotected) header.d=lostca.se header.i=@lostca.se header.b="eAeqqP0f"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 476vyW1rTHz9sP6 for ; Wed, 6 Nov 2019 03:20:03 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=kue 1Pp4B3vdT+nzL5XsV7KUbuqaO9C50+Imdw5k9uUJvXbUEfUbwWG5lZ6eSm25PeqE rLY4tprw8hDv4shLGd4sArZ7d5BrzO+Mvb4kebZSfiD9nYoHhvHkhf26ZDFFwjnk r86zsH5sqeoBURGDxPIYuVzG/qtbahFkC/G7wxF8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=Y6IE5LTPK i1a4mpyHXFy1kPAtF4=; b=YxZ8MuJ9XWlVt8/fM9HvWrKiafU7MtFsGggXHEUoP 2iVnR/BSvRqSrAaatnHkomye64MydxHNMTuxunNiykPurHzqZUxRySQlRw6tiGnI OMiWSbz9yJzSmMafv8Ik3lQU1o5aJ7R7OB2kaBVzEYP2gaNAKqyHqolybecc0Rpo 90= 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