Message ID | 20180608123307.24773-7-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp852931lji; Fri, 8 Jun 2018 06:08:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKuMzcrD0uBFFRIE/kdkyiANDnQCqlpuZYs3rMMuuGCyA9ikKLEDu4wHokMpyEJFC5hdsJF X-Received: by 2002:ac8:1492:: with SMTP id l18-v6mr1993913qtj.129.1528463285690; Fri, 08 Jun 2018 06:08:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528463285; cv=none; d=google.com; s=arc-20160816; b=nR57wORaUSIv/NZYgghQ4uJere4feiKN/263IfyxUDT0je4dPynkDgtDF1csC1m997 +mmNQmlSXWBv1dlz3DUcGGrhvdpnPI5X2SVdGsqooo/ng8Kq/YHzBZTDKhtx7m0XJoFF UO6tFmZHATW1JezoXgtP2JgmrmRiOfOocvMuVBWXGCQURWYWc3SfXxJZ2CbbGO+FQPWu E4RLvtZ33yjuGN+IubKZ2Vj3l/EGyzqSML2axqIPJuI5u7Fk+K8AkHAO4gJGTeqzxdAy kitURKczGI54kWFSjb5+uWAKNcBWhoTAM1SgH9kwZ7FniEnojZOpEjeIg609fm2EsFbc JqsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=0McJg+pzFu1cNKG9aZPh6FNyVG60Lmv7YmgCpgs1GPI=; b=sXZBzY7daJniyXH0fIXYXpS/PKfrmchForpMxPc63j6HFeqW8nOO/9bwWMncj5/dwJ apgJB87QHIQhLmBUvFOnDnmfYIULoKVXVIDkTuzmZBPSi398LDLImlmyx8sasYPRWNt5 q7rliETRvhyuWJT5Kwu3h5r0QZf67sGWbQDywLPGke3j1otoj9aRvbi8WRyKBAH8WKeS UU8YLmwMvqeTzU7M+EyKddvRYcWlWIxf1MVmR3wozVWqmG3DEVsikNCu5TlZmVbxmFrm MNU+uyh/VQa86lnYyW65hQ2KK+oxYvgDYRomMinCYSX9t9+eOjBEViJdE+l+Sg2LCP5Y HD7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FxRFQmfX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u7-v6si3094157qvm.118.2018.06.08.06.08.05 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 06:08:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FxRFQmfX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fRH7d-0004TO-2v for patch@linaro.org; Fri, 08 Jun 2018 09:08:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fRGZu-00018r-9L for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fRGZt-0006BT-Dg for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:14 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:40543) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fRGZt-0006Ae-7R for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:33:13 -0400 Received: by mail-wm0-x242.google.com with SMTP id n5-v6so3396057wmc.5 for <qemu-devel@nongnu.org>; Fri, 08 Jun 2018 05:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0McJg+pzFu1cNKG9aZPh6FNyVG60Lmv7YmgCpgs1GPI=; b=FxRFQmfXi+yTWfZV9ZQ2ZZ2oc90kR1C4eKb0rb2O+OS1EeFjCL/c+5fdKsjvyXSTjz ZfBwZemVH6/Wck8F3l86JRZ97IMemAkMvi+XikCftCxKpnZHbUtjBL3ddBiG1Mzgw/VG 3f1j6Yzu1ick/WaqSW+k5jpdTu7oKHufvwzIo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0McJg+pzFu1cNKG9aZPh6FNyVG60Lmv7YmgCpgs1GPI=; b=n0obR/WW4KDxHBKfsdFgjsCsFxzez6/Dqxeq0M5EFuaUwMe1zVcWn80esfFhbe7ZzV qoJaKqg23wMHj4KUJ4PH+1PvkexGJ1vAGwsC31ruFQbSaZbKvbz/U9zSektpMRXCiffl OWyMa273JMzXJpFCxhwG9DmIM1HeUSYO53w/xH53KCz4JQay0WHatvItPKwWAcsfT9eO //WGoaN0rUXXWnQp9Sx5TfPSruvNtIbvpaGpgbNJoepuXb4GID0zx1B31wGMXjERwzCR s/u1IUK2LX/K/8E6MafXl+UoVRUB/ajrV9bvCVos+/ND4/jZdDWT5vmgw3GOhPZx7l4V 1hrA== X-Gm-Message-State: APt69E28vBgv9Gc+64OMzwgas6e5czI0YtIL4XmBmEGIoIQ3qk/uY6eV JvOZ5LTUWDY40YcxOZ/Q2IflpA== X-Received: by 2002:a1c:8ec1:: with SMTP id q184-v6mr1376382wmd.48.1528461192214; Fri, 08 Jun 2018 05:33:12 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id t13-v6sm24574632wro.62.2018.06.08.05.33.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:33:09 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 8B2A53E031C; Fri, 8 Jun 2018 13:33:07 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Fri, 8 Jun 2018 13:32:24 +0100 Message-Id: <20180608123307.24773-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608123307.24773-1-alex.bennee@linaro.org> References: <20180608123307.24773-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 Subject: [Qemu-devel] [PATCH v6 06/49] docker: extend "cc" command to accept compiler X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
fix building of tests/tcg
|
expand
|
diff --git a/tests/docker/docker.py b/tests/docker/docker.py index bcc3ee2dee..59bce9f19a 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -415,6 +415,8 @@ class CcCommand(SubCommand): def args(self, parser): parser.add_argument("--image", "-i", required=True, help="The docker image in which to run cc") + parser.add_argument("--cc", default="cc", + help="The compiler executable to call") parser.add_argument("--source-path", "-s", nargs="*", dest="paths", help="""Extra paths to (ro) mount into container for reading sources""") @@ -428,7 +430,7 @@ class CcCommand(SubCommand): if args.paths: for p in args.paths: cmd += ["-v", "%s:%s:ro,z" % (p, p)] - cmd += [args.image, "cc"] + cmd += [args.image, args.cc] cmd += argv return Docker().command("run", cmd, args.quiet)