From patchwork Wed Sep 4 20:29:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 173032 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp418398ilq; Wed, 4 Sep 2019 13:43:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqztkd9as35GzSzF4Qif4lrcFkDhMn7XiRuFzMRzk/o2GJLnkXvnma613mPtMvntu02OccRI X-Received: by 2002:a05:6402:17aa:: with SMTP id j10mr208394edy.222.1567629802464; Wed, 04 Sep 2019 13:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567629802; cv=none; d=google.com; s=arc-20160816; b=A11xCnqwTnNJp+ds+iNdohJ7GblBGVAmZ9d7uvbyCqMhdfevOOLsyjjI744wrufYYA yuIM7JsHZrjdOleZTGKxv7K+08OnqPSziWb8DCsJi6kPiSz+Y89S1k5NRT8NiJZQuV6C r2mVxLNS/zF6CoFbw4teys7gRIbQDyvPuFXDHfYSSZAwM8+CMd8HN+K5N+SrNCf5j/ZY IZ9wwhUaawkjSMEEHT3iWFdydid+lOyxO+P6dfpSy99UgZpsYP/r8yJLg3uPFnoYzX3t jTZXk3YGdysjQDWe0QQGGFd5bOiqGEK1UrKYOqQEb6BE5Q6I43FCoJ+oEZztUY6/dZxN lx3w== 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; bh=XbPV2t+F7ljq0HCAxTum9zmKwOphxxVJo57tiv6WLRU=; b=vfn/H5shcE6z/DfriHnck2YZjJ7V9yTQtwfEoXF7EDY8NiUDMdJr3sEZ06TzzwILW/ JbJGzafncOheGghoB7HoBeI4g+Wk7st1ipbMNZ1juh+HptL3UX5oarJscPJvW5Bq6Xeq WICvEE4JUiNYOQOuKMLs5n/tGTO6tkeQRhP+wP88qn7blsxywC+l4QBRkMR1he1brYUB +GSf7nCxeNCMDlYQNvV9O9jlQ9haPJJOTcNPbcEWFE9IAn3NKudAddFdXsgriX1Sh1q7 LpI73SUzweNr32JtZlksSO6dw2iG1aMMQhHABBpvJ0dqiJfUux8AEwAvKPcat91yatOs G7/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PoXG7lu5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p33si13838467edc.358.2019.09.04.13.43.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Sep 2019 13:43:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PoXG7lu5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:39284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5c7c-000469-I0 for patch@linaro.org; Wed, 04 Sep 2019 16:43:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49773) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5bvC-00088l-JM for qemu-devel@nongnu.org; Wed, 04 Sep 2019 16:30:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5bv9-0006dj-Bd for qemu-devel@nongnu.org; Wed, 04 Sep 2019 16:30:30 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:35471) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i5bv7-0006WO-JQ for qemu-devel@nongnu.org; Wed, 04 Sep 2019 16:30:26 -0400 Received: by mail-wr1-x431.google.com with SMTP id g7so204759wrx.2 for ; Wed, 04 Sep 2019 13:30:21 -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=XbPV2t+F7ljq0HCAxTum9zmKwOphxxVJo57tiv6WLRU=; b=PoXG7lu5Oz9qsutsTGqexR+n94adVB9Cvp2O5KYtgi9bmhrzCAqC1h2z3fg3ZZgaRR 9qKc8FGYOCaSF1YxfOrlWKdh88cGQl6Cp0Zt35evBgWNU94XyN2b/PgJ++j8JrVEYeqe whXdP8BabODG7g8EliCsevvB5+uRBjsCeRU1l4lRsD/R8GizVGfzVUS7T3sHvIKOByJY g+IzvC7sXNfLvrLsfcv2sWxyY4gVzszT1DXnWYCYYiNgDaxxwHt6NCnEvS08cmx6/wDt fw53oOzZFQb5++car1NBAtTqDjBIzT0RpEvRQZi5ymsRIV1192Oz9pTi9csrUr6sAzgz psHA== 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=XbPV2t+F7ljq0HCAxTum9zmKwOphxxVJo57tiv6WLRU=; b=ZPf/HaWcOxw0parWYXNas2QKM2UmjuJMXfVVXxIKWuoZ3csn0vmhCyVU3BnVT9bo3S 7RRKIG78PctfL4SgUxvGeJNycxj9iIRCfIz967dzHGuvNanCnlcwDhCTuTnts4ruCbpp QyhrHEipl6rzaMTkxqUs0p4XOxWnYkVE5gNNAZn5ODp0pdZLoJxwCZLiYFE1NidoZ3Yc zGjLoknIVSou4AJTulwclSbyIB8hZNM1+u3aVkCQaLVOV/uvF9ZSfBH1fdmbnIQxqI3N GoEnotj8uB020iZpEw8v5veCrdkiXfVYGCRe3YD3676APMW+fYXj3dOu/aLFos8q/U4J 9qgQ== X-Gm-Message-State: APjAAAW/FhJ/7EGBB7IOEZPrunDVKAhPX64iUtyusWkXPioz9k7Bdpm8 7E4S/HIEZ/wtXBajsgbcOAnL5w== X-Received: by 2002:a05:6000:49:: with SMTP id k9mr2235236wrx.21.1567629020700; Wed, 04 Sep 2019 13:30:20 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id d18sm31755088wra.91.2019.09.04.13.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2019 13:30:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 361241FF98; Wed, 4 Sep 2019 21:30:14 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 4 Sep 2019 21:29:39 +0100 Message-Id: <20190904203013.9028-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190904203013.9028-1-alex.bennee@linaro.org> References: <20190904203013.9028-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 Subject: [Qemu-devel] [PATCH v1 08/42] tests/docker: move DEF_TARGET_LIST setting to common.rc X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We might as well not repeat ourselves. At the same time allow it to be overridden which we will use later from docker targets. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- tests/docker/common.rc | 4 ++++ tests/docker/test-build | 1 - tests/docker/test-mingw | 1 - tests/docker/test-quick | 1 - 4 files changed, 4 insertions(+), 3 deletions(-) -- 2.20.1 diff --git a/tests/docker/common.rc b/tests/docker/common.rc index 4011561587a..512202b0a19 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -11,6 +11,10 @@ # or (at your option) any later version. See the COPYING file in # the top-level directory. +# This might be set by ENV of a docker container... it is always +# overriden by TARGET_LIST if the user sets it. +DEF_TARGET_LIST=${DEF_TARGET_LIST:-"x86_64-softmmu,aarch64-softmmu"} + requires() { for c in $@; do diff --git a/tests/docker/test-build b/tests/docker/test-build index 22766cfacc0..2b2a7832f15 100755 --- a/tests/docker/test-build +++ b/tests/docker/test-build @@ -15,7 +15,6 @@ cd "$BUILD_DIR" -DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu" TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ build_qemu install_qemu diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw index fdb1c2c879d..c30eb654eb7 100755 --- a/tests/docker/test-mingw +++ b/tests/docker/test-mingw @@ -16,7 +16,6 @@ requires mingw dtc cd "$BUILD_DIR" -DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu" for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ diff --git a/tests/docker/test-quick b/tests/docker/test-quick index eee59c55fba..feee44b2476 100755 --- a/tests/docker/test-quick +++ b/tests/docker/test-quick @@ -15,7 +15,6 @@ cd "$BUILD_DIR" -DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu" TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ build_qemu check_qemu