From patchwork Thu Oct 13 15:47:00 2022 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: 614744 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp315605pvb; Thu, 13 Oct 2022 08:50:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5gGEG+62fA4cjoBH7QreJgwg+5H8Y/ltGJS6T56F/b3XgegW/txO7SnPdtIXnVGK/5CC3L X-Received: by 2002:a05:6214:c43:b0:4b3:d1ac:5418 with SMTP id r3-20020a0562140c4300b004b3d1ac5418mr455612qvj.109.1665676208815; Thu, 13 Oct 2022 08:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665676208; cv=none; d=google.com; s=arc-20160816; b=FnAO7DGmLj5lClrb18Jzb1J6CEYVI5B9ga16weyAeczXU1rzf+qcr9SuwH/pwUpgNW VM5I/PVyrfpqDTbv6Gp0r1SUZxZASFHoUunW9c3See5zHd9jp/DiI6lmr/H01y+UHP7w gQhdzknUpFbvOv/bT2WPZ6m16cK+KPjGFv+xHVbylXbS4e0rqhY7guzO0DOMjfqDnA8X 0OKckLlHXRVWSIYfWIRQh+K6oi5nLzssZCvsvVbpmmCE3GzB9+j/enilOLo49yYmzuHd /xbNI8tYqWOZssfcnmr/qwneFfEWyfo6amSXdYIpv/GoKbPeR6E254fpixf9WZfMCxOX eebQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kl2iN6rt6pDhvN8sLa5DXi2F/l3cWenxvR+M48fWHds=; b=C6m1OS+wIUbeN4xXRyTKmTsZHYIwner/EhWlbN0xnGpe5jxRT9IBw0dFODHbSgUNS7 q9r8Nr5EtW7JGT/+JTsHaTNK3iVOL20lfr0Os6nxL600XtYvl3h2KwUMmD8Vmor2rwet RoY4Y7PeRPrMmpVlL4/bOQD5hINNyBCWSBErmRuI0BExupdl0RZWzWu4F6lC5dm4wFIq 56oKHhJaI8UOWHEWfUsfFTXjRTYZEpGNZwVWkUXJkFnJXrft66kzJlNwk00X2UVIEhmP OLf0MvknFYy4MVAnJuDQt+9ZTkwJwxd3pM43ihMzJN8Ah4UcGYP+fxQ7s+o7Lq3aY0jE n75A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="d/bIwp2N"; 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=pass (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 h12-20020a05620a244c00b006ea8bb4f75dsi37286qkn.143.2022.10.13.08.50.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Oct 2022 08:50:08 -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=pass header.i=@linaro.org header.s=google header.b="d/bIwp2N"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj0TI-00066U-4C for patch@linaro.org; Thu, 13 Oct 2022 11:50:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj0QS-00063o-HL for qemu-devel@nongnu.org; Thu, 13 Oct 2022 11:47:12 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:37717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oj0QQ-0006nl-LX for qemu-devel@nongnu.org; Thu, 13 Oct 2022 11:47:12 -0400 Received: by mail-wr1-x42b.google.com with SMTP id bv10so3486007wrb.4 for ; Thu, 13 Oct 2022 08:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kl2iN6rt6pDhvN8sLa5DXi2F/l3cWenxvR+M48fWHds=; b=d/bIwp2NH0e7L25cYYMPk1M+6Zon07aZYTNi88pksnFD4306LIpL5KhGWyF9oGTjIq XovmDHpSK+xc76Z3QMv+WSFzyQhVpJJ3qDxTTL45t1tKpgh92/WFfFD6KKqg3KatdyBz xWKKJ7KlneAf4Jz4Rj0D3mvGqH8ZXMFzihxqPr9PW+FffHQQfKGTYu17ir6p1YmyNwOW 5XEiC2JUvhjmrOc5c432mjuYPnmd2MYMRlKi+bnKgF1BTOIopiS4RCy+BOB9hzMbPuNW Op1n2qADQRyrctCkYJDzFzk4ZJiTL9l6/Tk6bAUQHpylhRHN+vS562LQSfS0bKc2kgNc feBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kl2iN6rt6pDhvN8sLa5DXi2F/l3cWenxvR+M48fWHds=; b=KMxQ5Ibyz+Bx8esjZaBdVec/wDDTJ6+h5jhYOMmlBYEWGkDAY6KeiF6BeGivDTSqjL ChTVSQwm5WHFCYiK2/stcKe3c4uLgJvFZ+PR2uKzbmj7xWUExBXQHnE4lWQlSjrmcWxO UNGYwnpH6lwCy0Thx04O/h6ZL4TJy0S5vW4uNtUyWkGHE8I9YjarYBBNi54k9b58uD8B t3/JCS0dNSAsN6ZkJujb4MYbvcExe4xJELRuOo5u5B+lJqjb9KgpvBt3E1FUH3XoHyHb ov/bWf2rtrz41fio6VCYJ78Q+x3W3AGDGKgFenzQQ48BR+eyHm2k+FH7iV+8Mu/lnFHQ D5Fw== X-Gm-Message-State: ACrzQf28+fpfHgCupvd1r18IrV4BUMsD9UGvi7/lhX3gU9v3OdSHqKLD UoJU5F1L+YTvLa+0NNmxpbHIO7sUyRzTJg== X-Received: by 2002:a5d:5942:0:b0:225:7425:4e39 with SMTP id e2-20020a5d5942000000b0022574254e39mr412839wri.566.1665676029156; Thu, 13 Oct 2022 08:47:09 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id n13-20020a5d51cd000000b0022e47b57735sm2163521wrv.97.2022.10.13.08.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 08:47:07 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0A8991FFBA; Thu, 13 Oct 2022 16:47:06 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v2 2/7] tests/docker: update test-mingw to run single build Date: Thu, 13 Oct 2022 16:47:00 +0100 Message-Id: <20221013154705.1846261-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221013154705.1846261-1-alex.bennee@linaro.org> References: <20221013154705.1846261-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" While the test-build test happily run for mingw the test-mingw case runs more of the packaging inline with what our CI does. It however fails if we don't find both compilers and expects to be run on a docker image with both. Remove that distinction and make it work more like the other build test scripts. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- tests/docker/test-mingw | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw index 0bc6d78872..18366972eb 100755 --- a/tests/docker/test-mingw +++ b/tests/docker/test-mingw @@ -13,14 +13,12 @@ . common.rc -requires_binary x86_64-w64-mingw32-gcc -requires_binary i686-w64-mingw32-gcc +requires_binary x86_64-w64-mingw32-gcc i686-w64-mingw32-gcc cd "$BUILD_DIR" -for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do - TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ - build_qemu --cross-prefix=$prefix \ +TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ +build_qemu \ --enable-trace-backends=simple \ --enable-gnutls \ --enable-nettle \ @@ -29,8 +27,6 @@ for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do --enable-bzip2 \ --enable-guest-agent \ --enable-docs - install_qemu - make installer - make clean - -done +install_qemu +make installer +make clean