Message ID | 20180615194705.28019-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-v6csp1255966lji; Fri, 15 Jun 2018 12:58:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLt/8UYw/u2AxK4ljfs+bA73NVvYiCDktO11LnAYnwyN5x4rudxZZs/RAq/coVNm/JpQ4Xr X-Received: by 2002:a37:aa4d:: with SMTP id t74-v6mr707783qke.141.1529092684383; Fri, 15 Jun 2018 12:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529092684; cv=none; d=google.com; s=arc-20160816; b=F+QnjRxtREdHHZzJUHUu5FdhThwlDvFkGge1V+v61AlFk1ulku7uzuWFTOKYmJPyGZ 2aeeImvzzndg6s/w4wEL74VPiZQz/93Gbo3qHFUc2FCl4wappN2yo+Bw9Tn8g7cfG6Uq AK+8DHPOwpyIMst0IerfsWGlsXnySk1OIaFcLbs8YNn8GSgJTwfxhiPQtgaRpxYv/VIN lg3ZNoEw/wrWeDktHOEH18aru7UclwtWnuXnitCKv/IxQqFdqEEithwvZh2VxRl5frMZ CUddtIUI2aNhNjZag81oTd+hSZg0z7I8EUWq/DgzyaTugDqB8uWHUDDdOZSMG82tPCFA vOeQ== 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=0TZGa3eVh0CeTpRHUcHQmNG5wlIovi0NoSw/xt6gy/U=; b=affRiVEgGtE0R4MD1F6vCwRGe+G5N9iZNEW/RGIolqZKUSDAkuyiGE5Is6z8hWOVkC vwuE3uIHuoaGluzhV1BVfZJRHv4hfmaftg8B5p/4vl1vFI/izbaCF7htgEHXItvFEHT/ Syx0WVA6xVcCTN5IVviElv2AAC93Ij5NDFqi4dm026cz6vcRPnh8kE0+u0b2Jkj4LW2K gys71fI8DQIQn3rxbnoWpLOCuEh/6OsK1Ax1EBLmgPFSYUDpDLEv+8BFtBhwvgfonWV1 D5o7qRuvNBq5/79nqAUsBiAw2UA4L7g0kwolQrf6UZeNTWkvMv1rmJyoCo7lP6ytVte9 b9lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AT4LgdQa; 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 x4-v6si2831549qvc.198.2018.06.15.12.58.04 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 15 Jun 2018 12:58:04 -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=AT4LgdQa; 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]:49027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fTurD-0002gm-Rg for patch@linaro.org; Fri, 15 Jun 2018 15:58:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fTugj-0002Ur-LK for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fTugi-0005HW-G6 for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:13 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:38765) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fTugi-0005G9-93 for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:12 -0400 Received: by mail-wr0-x242.google.com with SMTP id e18-v6so10983222wrs.5 for <qemu-devel@nongnu.org>; Fri, 15 Jun 2018 12:47:12 -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=0TZGa3eVh0CeTpRHUcHQmNG5wlIovi0NoSw/xt6gy/U=; b=AT4LgdQaGbXKgo61MLPyFqtA3ct0jg3XhXv6R2mPAIgQhSi9B/6wKl+TUoOeKW3iDM +XtIqIKm41NwsXKmqrUJ/U5rTkvHu4VfCy/lxd0k6DKP1b9k0m1rJnQ02wfW1atd2RUD b8Q9upIkgkqMCC3s5SRg6cZ+Zsp1tNWhoiSLE= 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=0TZGa3eVh0CeTpRHUcHQmNG5wlIovi0NoSw/xt6gy/U=; b=GRbkUYWUKWwP5iOwjgRIQQUyzVrtvcW7bsr9sGIObHX6PSmbirIC8GudYNbT6/iFWw tfVVg11VfBCNOiaZ5aALEMcRcj5t67Zi04Uw1KsVWhD/ZWIlyvsydzFjM/y+J9Nm3Pb6 +Ujt03zfFR1PdaXDOpP5llu9thS8i7zqT1e8dMIw2M1WGq8x8rhj9Mt7tGZYeYPmkvxg shcGSYH00Qx21u0tYdNGDF2IZ7n6wU4JKbXHk0X73d9WK4msa3ajA0oZpv0kDOXH3JpI BH2sE50QKLBiYijdMdBjXpDmO68ivwJNO2qDprA5Y47FomKOCo6McRJqXsMWAHmszTQd 1eSQ== X-Gm-Message-State: APt69E3OL1bu4TDaGV0rfpOTFX4td/XaDjO0zIFh6xU7Yod1L22L398a bk0+BY/ph/uWGR9HbDhC01LOlQ== X-Received: by 2002:adf:8ab9:: with SMTP id y54-v6mr2638301wry.98.1529092031165; Fri, 15 Jun 2018 12:47:11 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y5-v6sm10168431wrp.51.2018.06.15.12.47.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 12:47:08 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id E57813E0611; Fri, 15 Jun 2018 20:47:05 +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, peter.maydell@linaro.org Date: Fri, 15 Jun 2018 20:46:17 +0100 Message-Id: <20180615194705.28019-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194705.28019-1-alex.bennee@linaro.org> References: <20180615194705.28019-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:c0c::242 Subject: [Qemu-devel] [PATCH v7 06/54] 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 - last chance to review!
|
expand
|
diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 4cd6f9b8ec..663dfcba4b 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -416,6 +416,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""") @@ -429,7 +431,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)