From patchwork Tue Feb 25 12:46:56 2020 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: 183840 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1768812ile; Tue, 25 Feb 2020 05:43:37 -0800 (PST) X-Google-Smtp-Source: APXvYqwwr8yR3+QlmT1cugNVCOj1pvr6zyNEOF+3AG8QZDHu3eZX2Ge3A7tQBUu+RqcH4KGRir6a X-Received: by 2002:a05:620a:1426:: with SMTP id k6mr55807218qkj.276.1582638217078; Tue, 25 Feb 2020 05:43:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582638217; cv=none; d=google.com; s=arc-20160816; b=r9aYuaWlvqc70gc+NjwTb6YGiLNxf3WHT4BU/FE3YPxIeMqBDOebBrTkRRkpEZ8eZF jTTNBrlcdSPSYaWRHMD1sZrqR3BkNLZNAaTrf1Efq7KT1JpxX0OTMN8dwlZS2CkBYb+w uFWRcZbp74XLKN3M0X2ACq3WZcFCtIPQgpoHMFcIW4lRkxg4M7vFcr3ZSfZgpD/g6p73 fUX2bMA91DIkV8ZjHJ9dESqO67U8ehHbPZdwGCguihtCDSc2FE27UBW0VkONPCm7XN99 mG0h+5LQGxqzHyu2Y6Z2H1hi/PxN01qWe3MS09iSQkxWex0riydDd58Rj7xR0UFZlcx6 /bew== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=mRJBG/zc2GQpI0clN99w+344ScpJbk+vuaXsTd83iMo=; b=0OOQrNWfHwdhXliPSF6OuJ2bW0QVbpzcFF+uMf/uj54rxsiYcuCQII6/Y1FI9WttyD IHiIcJDUs0+3ltR7XINygMmjujUF1h4megSqCqz3RNPLZm2j5TGTAHTUbXEma0LxvDMc 3sEAU4bVlYzf6e7qdLA6KazGxNZ9/CDnA9KYhg42NYlfx9j4+rDMm2LIFIYc+ybdrrpm HDLsS5AIQiTbL0a2NjW+rI7JjuNC7DgAenmjwe3VeQOtRDcVZDaiIeE/XeKnmiu8Cg35 SvrZgUTkwUWjk+ASnlIvJm7Ps6cqgHCT3eXVSW7rDRiYykgi3gFaarG25OAINE9f+O+8 zJvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=n+AbY7Um; 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 j21si7166138qtq.227.2020.02.25.05.43.37 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Feb 2020 05:43:37 -0800 (PST) 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=n+AbY7Um; 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]:56304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6aUq-0008Uu-LL for patch@linaro.org; Tue, 25 Feb 2020 08:43:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59170) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6ZcQ-0005S2-UU for qemu-devel@nongnu.org; Tue, 25 Feb 2020 07:47:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6ZcP-0007EE-NN for qemu-devel@nongnu.org; Tue, 25 Feb 2020 07:47:22 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:33564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6ZcP-0007Dj-Hv for qemu-devel@nongnu.org; Tue, 25 Feb 2020 07:47:21 -0500 Received: by mail-wr1-x42d.google.com with SMTP id u6so14616759wrt.0 for ; Tue, 25 Feb 2020 04:47:21 -0800 (PST) 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=mRJBG/zc2GQpI0clN99w+344ScpJbk+vuaXsTd83iMo=; b=n+AbY7Um9xYuIrtBkAFUKLevPWbgJZdXMshg6eU1D+SJb2q5SS0ezY9ImwPmFXDDGE 1H66VkJm8Tj6dDBmkT0AqOkDIjynUBnHOvJZaucKq/dJeik98xE0qfGEi70ojVcRwoFp ufRT2CJtSacs1507bXfuumLHfSFNNaExCNqqNw3Y8M2boF24OqCxpmCNvyet7RMFeh+A lpQBrriDjxLRZE2BJzkMRSb4nvzdUsj+tB6/IXSzSEhNFoEH0ESBakTAibcUEANw5//5 qi5V3Optfzhu/J89MGQ/cN5imP3men8337MijfA3LUYG5LwkwexynFrI8b393kVAzKZs Cqxg== 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=mRJBG/zc2GQpI0clN99w+344ScpJbk+vuaXsTd83iMo=; b=MwAHJX6ylQylHvOf8NgfseMi4dcgT+wrp35mhyqLkp1+h6+T5XR4HyIbS3x+pxCGlr YAOwo3lmFI0JIbNUeHHs7Wc3HYmULrbuokYWS92bjS4xljuM4NHyMYquheO2eJt3fzxN 56tsBPAwL2xdXyJLE1RA+BZ5/rKA2JccNVifn7vx32LK8A8HQqLbqsoXCNJClR/TJqD9 7b5ZAZ/swXNpKYt8w++TOl7Qf+skVdNHIWyLF5Ft6W8QJ0ENJD6KnMqHIRMbrPBLFUGT nBVkdTV3wN5DlujVaw39bfvek6Sa4snGwjAAcdyCMNLzxMkTGe9hPdB3gEbbxuBDe0Np BesQ== X-Gm-Message-State: APjAAAWnU01p+uPh20eu9G+E7ZtSPJ99WaAXdwMVvoAc2QYjqtQiYMgu RSjwAZ4MGm/EUHathuIy3iqmCA== X-Received: by 2002:adf:f091:: with SMTP id n17mr70531397wro.387.1582634840115; Tue, 25 Feb 2020 04:47:20 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id t10sm2666271wru.59.2020.02.25.04.47.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 04:47:14 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B726E1FF92; Tue, 25 Feb 2020 12:47:10 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v3 05/19] travis.yml: Test the s390-ccw build, too Date: Tue, 25 Feb 2020 12:46:56 +0000 Message-Id: <20200225124710.14152-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200225124710.14152-1-alex.bennee@linaro.org> References: <20200225124710.14152-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::42d 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, Thomas Huth , berrange@redhat.com, robert.foley@linaro.org, pbonzini@redhat.com, stefanb@linux.vnet.ibm.com, "open list:S390 general arch..." , =?utf-8?q?Alex_Benn=C3=A9e?= , Cornelia Huck , richard.henderson@linaro.org, f4bug@amsat.org, robhenry@microsoft.com, =?utf-8?q?Philippe_Mathieu-D?= =?utf-8?b?YXVkw6k=?= , marcandre.lureau@redhat.com, aaron@os.amperecomputing.com, cota@braap.org, stefanha@redhat.com, kuhn.chenqun@huawei.com, peter.puhov@linaro.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth Since we can now use a s390x host on Travis, we can also build and test the s390-ccw bios images there. For this we have to make sure that roms/SLOF is checked out, too, and then move the generated *.img files to the right location before running the tests. Signed-off-by: Thomas Huth Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Acked-by: Cornelia Huck Message-Id: <20200206202543.7085-1-thuth@redhat.com> --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.20.1 diff --git a/.travis.yml b/.travis.yml index 58870559515..ea13e071795 100644 --- a/.travis.yml +++ b/.travis.yml @@ -509,6 +509,16 @@ matrix: env: - TEST_CMD="make check check-tcg V=1" - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS},s390x-linux-user" + script: + - ( cd ${SRC_DIR} ; git submodule update --init roms/SLOF ) + - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$? + - | + if [ "$BUILD_RC" -eq 0 ] ; then + mv pc-bios/s390-ccw/*.img pc-bios/ ; + ${TEST_CMD} ; + else + $(exit $BUILD_RC); + fi # Release builds # The make-release script expect a QEMU version, so our tag must start with a 'v'.