From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 dcvr.yhbt.net (Postfix) with ESMTPS id BC3B41F454 for ; Fri, 8 Nov 2019 23:54:23 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=HLfi4GezCQaafLxYhlMUDnyiKWx/n4sDE5vFtFGN8Y10oKWUGuBjm QrV1D8s/alO97pjU5Ymx+S5gekFSQswwFZPFMu0PhRvEXb5H0L8QV92bHdOZPC6v JPdZgr9R44lipQoiOcbkbX7GMTluQoYo8F+PLlkbgXESU2zuKGmYVU= 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:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; s=default; bh=Vkl4Pto2aIyjGXM7M7RyBU69vDw=; b=SnjxSppQCI2SNsBqnmkYXTcjoAaw 4W4Z2TwwXvp6PThKrJK7aKxaOE7+b9thlGyLh8+K8BnfDhcKz19OiP2X9HaGjS0M o1G4DoDRpHsEiw23HzrwAZhccUsr7K3KP2jy02PjKvPMKNLc5ODbE6OhVTB1/pYO 7zjaguiWcd9BKoA= Received: (qmail 28202 invoked by alias); 8 Nov 2019 23:54:21 -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 Received: (qmail 28194 invoked by uid 89); 8 Nov 2019 23:54:21 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: us-smtp-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573257258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=XMa2kACrE4iqi6dgurzwGt548cp89vSCNTiuKDg5IX4=; b=ZE+47qWrt8MtrnvWbb6lEO/+xh8JY3ojfB8Eb53+cbq+36vPM93SQzEANdc43ZmtO3WVdG xxSdFNmBkedge275A/em/KQ39tLAULaNUK4jsNqG+iBE70T2bFyzyC67ZR4G1aoqcCDVTc PUuLkI4MOmzYLxEKky3mh+b9DXfh/Dk= From: DJ Delorie To: Florian Weimer Cc: libc-alpha@sourceware.org Subject: Re: RFC: test-in-container vs ld.so In-Reply-To: <87wocavneb.fsf@mid.deneb.enyo.de> (message from Florian Weimer on Fri, 08 Nov 2019 08:27:08 +0100) Date: Fri, 08 Nov 2019 18:54:09 -0500 Message-ID: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable This patch seems to work, but we don't have a lot of containerized tests, and my setup is "normal" (esp compared to Joseph's ;) diff --git a/Rules b/Rules index 8dbac56ce6..9ca5e14092 100644 --- a/Rules +++ b/Rules @@ -275,8 +275,8 @@ $(objpfx)%.out: /dev/null $(objpfx)%=09# Make it 2nd ar= g for canned sequence. # tests-container. $(tests-container:%=3D$(objpfx)%.out): $(objpfx)%.out : $(if $(wildcard $(= objpfx)%.files),$(objpfx)%.files,/dev/null) $(objpfx)% =09$(test-wrapper-env) $(run-program-env) $(run-via-rtld-prefix) \ -=09 $(common-objpfx)support/test-container env $(run-program-env) $($*-EN= V) \ -=09 $(host-test-program-cmd) $($*-ARGS) > $@; \ +=09 $(common-objpfx)support/test-container env $($*-ENV) \ +=09 $(built-program-file) $($*-ARGS) > $@; \ =09$(evaluate-test) =20 =20