From patchwork Fri Nov 8 23:54:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DJ Delorie X-Patchwork-Id: 35762 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 Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 28194 invoked by uid 89); 8 Nov 2019 23:54:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=2nd 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 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)% # Make it 2nd arg for canned sequence. # tests-container. $(tests-container:%=$(objpfx)%.out): $(objpfx)%.out : $(if $(wildcard $(objpfx)%.files),$(objpfx)%.files,/dev/null) $(objpfx)% $(test-wrapper-env) $(run-program-env) $(run-via-rtld-prefix) \ - $(common-objpfx)support/test-container env $(run-program-env) $($*-ENV) \ - $(host-test-program-cmd) $($*-ARGS) > $@; \ + $(common-objpfx)support/test-container env $($*-ENV) \ + $(built-program-file) $($*-ARGS) > $@; \ $(evaluate-test)