Message ID | 20180525133851.27161-10-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3613993lji; Fri, 25 May 2018 06:48:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIJAHV6PojlInQYeBiUOD1ATV1LkhSxTOcnjeHsV2vnp0nZAYoYjxGsECUUHhxCJmJHipzR X-Received: by 2002:ac8:24d3:: with SMTP id t19-v6mr2315771qtt.345.1527256092423; Fri, 25 May 2018 06:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527256092; cv=none; d=google.com; s=arc-20160816; b=PlaDEO/PuifINNfupfkxoXwqWJhTwaaulc9vFlmwSNZWKm+xkqDZ72liksLqcJRshj LnDP21s2RztY6niVxHZzBjELCh7pTLkWJgq1BP9yIHORk+6Y2TGVzZxa7sz1EyYs87fz 2Vkn9TZYiciZUD037KVbSnoOA6Xgz1LfruCPZXSFw/6p396Z7vsNm3u+F2FspmyDSz2v ApQSB21pLMESfQijZHPOOTmpKPyieSEqlmQav9IdcbPzvpYHBqsh7yrANfdcq+oxV9bw TINO92p8gqc8j9Qr/OX9k/WMzWhCg4Teaxx09hW0SfMwo+1kUjXgya8DxgIIlneFtCry DVhQ== 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=0NSInJZhrOmC3q3A4nal6f/raMjxYjeK2ZWMf0DVRek=; b=qtEHyZy+JeBBG/S85zdEbE1jyH+zLWLOhAmkErgaUdbGBmofIqCHwVFLWCXjn9P+4q loUyOuiHjxrk+lP+DWRm13fi+dpzRc+ocevQi4Afs7Q2CiBoeCcnPEfaLcI16cOzdHVV wffoNHKifz7G8nZGD5ANUfcA03ZwUL2sYRAkfUJqUUlOHS6QTsYYIqvrQUO6mwpKtgrR dB/QCwpPhChWgVJG9d7eYd8LpkSaOxlHS42Yr4M9OZrDWFaWM7nDyLVl00PVV6vOQLEK v1OfsQCk89egn9Wv+VgEWMv/W7qtUwUpwAjaaRNh6ms5o2ctbgEgM5iMP8/ogJMsdVfw EoSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=QXMQHBhv; 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 w185-v6si2564909qkc.74.2018.05.25.06.48.12 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 25 May 2018 06:48:12 -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=QXMQHBhv; 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]:44088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fMD4l-0004En-Nl for patch@linaro.org; Fri, 25 May 2018 09:48:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fMCvz-00050w-IY for qemu-devel@nongnu.org; Fri, 25 May 2018 09:39:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fMCvx-0005x0-AL for qemu-devel@nongnu.org; Fri, 25 May 2018 09:39:07 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:53680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fMCvx-0005wh-4s for qemu-devel@nongnu.org; Fri, 25 May 2018 09:39:05 -0400 Received: by mail-wm0-x244.google.com with SMTP id a67-v6so14460711wmf.3 for <qemu-devel@nongnu.org>; Fri, 25 May 2018 06:39:05 -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=0NSInJZhrOmC3q3A4nal6f/raMjxYjeK2ZWMf0DVRek=; b=QXMQHBhvKh/xR7IDNvgNKBufrf+LliAQVaOVpvmrw7wBmKYoqTDu9xY9NEhalb1qXs QjrlAcYSY6ul1gTC2N0p7ALHRo5J/9CYcMGt74CqpPUzmGIxV7ozdqqRZFxYlDjlZtHe UaIqfNWYCkh9Z9LH71i08SyFZNYrIXtxP3uwY= 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=0NSInJZhrOmC3q3A4nal6f/raMjxYjeK2ZWMf0DVRek=; b=atuqE6JRf7Zw+cFNFJb5b18h3nRBV5QaYQzP26Z8gDyjClwTA+nc/hED674KivfV7J BgmPloUSSVFBtuSENKASGRv5veQLXbYvo+An+4YzhfvbmDk7/0foatH2WSN3gpNvllcf Xrz/HyS1dz/pQSGjdi2TBTXfVQKXkQHu6jIXiGejWUA8Br5zT2IBEW26Z6yzEItYHOwJ CcdL57B7/ZahaJ1tTmlM8fgQJ9lbHZ9rcJEgzL7g+NtGwKC0kSy0MqvpOGlKyEB3o5C4 V/W5T7mxUcW2Cx2UW2y93AMdmySVvueN8X5HUOka/+B/NquRKxkjdsvhX+XmLw0BtgCk 8Q6w== X-Gm-Message-State: ALKqPwdn2bDlhQwVv6SOeCnty4xkNkAA6TXIMJE8T/nSmqY4CvMRPw9T DBkK4qa0oBGsyIKMoRY8/5sYdw== X-Received: by 2002:a1c:ea44:: with SMTP id i65-v6mr1673823wmh.97.1527255544064; Fri, 25 May 2018 06:39:04 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id t5-v6sm8952740wrn.16.2018.05.25.06.38.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 May 2018 06:38:59 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id F1C243E07B5; Fri, 25 May 2018 14:38:51 +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 Date: Fri, 25 May 2018 14:38:11 +0100 Message-Id: <20180525133851.27161-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525133851.27161-1-alex.bennee@linaro.org> References: <20180525133851.27161-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::244 Subject: [Qemu-devel] [PATCH v5 09/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 buildings 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)