From patchwork Thu Feb 13 22:50:55 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: 183438 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1081305ile; Thu, 13 Feb 2020 14:55:45 -0800 (PST) X-Google-Smtp-Source: APXvYqyy4j0qwx37uj+NiZ41msbrcecu4kOSdnjwrUtyJxKCy7CZGeoeU4gERSU/0AYh07SDV2w3 X-Received: by 2002:a37:54f:: with SMTP id 76mr14302177qkf.157.1581634545806; Thu, 13 Feb 2020 14:55:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581634545; cv=none; d=google.com; s=arc-20160816; b=ftr/9hib4g7M5EU0dBBhLmF+M3Af7/Yr429EpUot3pg1mtuBCaNBBoNsGLSSBMpx/7 WZXwLWMzg+Knn7MegGAAcYeFzpjmqO2RhHcd4OEXlW7+KfS0x7A0E67Vi5fLH5TtSPEm FgKv0UNiK4/Mg+I5UkS49s2NvPWhPJCTazCcbjdXxajjX485OT9FAnhfJGMuFVWftiSv K1MnGKm/RtixS3FRjz7HlUZCWGGiy64jBafLnHX3/SMP8za28OUiiMEmQYCeuIWLN0B0 Pk/1ZDiULCQ7w6i1BZY8neDhtofWa8r4prDuQ/OZRCQYagII4nwLl0JQPjb8JFw7oi76 TXmw== 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=yuLAV+mVTEXNFk16w9TQj1rAzMU7DHa9ouVGYzrdKytzNi/PEa4PzmcOC4S6gJIr94 4Szpm61JXUF3xrPdMmPZsDAYIL3VOEy1SzZdW9/CH6k/TPNHCETCuwz5M9TDw0oTUj/1 OCk3Z6phQEhsun/L09Sb7+1N24FNIvCzUUyOEttKwgF0KbN0X0FhLplfvY/B1RDAQOUu dxzlc9kShuCnl+iQ5OYUdzlnXfDrDKKiIH013nKaJPebst1pyiU6r4ce3aAJQHnLqoAw iuE+9JlS7MVERpj+MnCmPtZ2ESX7+zAwRzON0k0tNY4BolR/mKyqlhlSKaf2IntjnWaS Fang== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FBbVtg0B; 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 w8si548027qtn.359.2020.02.13.14.55.45 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Feb 2020 14:55:45 -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=FBbVtg0B; 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]:60420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NOb-0003jR-Ay for patch@linaro.org; Thu, 13 Feb 2020 17:55:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39574) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NKI-0004fb-MY for qemu-devel@nongnu.org; Thu, 13 Feb 2020 17:51:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2NKH-0003iO-Mi for qemu-devel@nongnu.org; Thu, 13 Feb 2020 17:51:18 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:37297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2NKH-0003ge-C4 for qemu-devel@nongnu.org; Thu, 13 Feb 2020 17:51:17 -0500 Received: by mail-wm1-x330.google.com with SMTP id a6so8631829wme.2 for ; Thu, 13 Feb 2020 14:51:17 -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=FBbVtg0B2DtHIda3Y16/vX49BMh0/hFDiAFf3H6iP8zj9TOi6IuWuGSjXOWdVBtDNT ibvl5q9JJltl62tVn1yLCo1z9AYydV86k9c0oK9QsjHKEiizGihoSYNte2fyMpoIw3Om 8wegrkdFhlNjgDlvNAQ+6MqtgmuHHT6an7u+dwBmxFvh9//FTX5hTLA0vj5KxU84m0Dj T7532m+E2xMCoqDz23adm1BHdcd8Va8GbqhL5KhEjxmAPvBM2EymicUt8R4dtZ8/VIS6 /D+5kJOhJk4zJeWyXWfLrVl+XNY1CfMS7PX+H7VPCmJuf+SfSF80dgIKaZw7wPqroj0q c9ng== 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=AghUQe7slmrsP/KqrR5uuCXI4JvcVfQFhYZG7+gGVfqK4m6MLauET2eft5Un5m5kNc XjLR3B0xC9cyRhDHc5GwKJeHz43dGcYoFAM/Wpj3QxD24klOyu+V8VGZKScQrT3fz2ad AdtvCuCzen/Jn7gKiaTkCAAEe8VNDh7nWeSo5/8NhrbLZRRkoiZmB5oC1t0uAdDvozwM NEaWawNnV0A0p4WgN68XzPMBdWtPsqZcoeVD9wCj1pET92luLZWb+0diLHTtRmXYYFLz Jt9+zdrHe/8ZWS0GqabGgws8aFKKM9vGMwqY0XGut23Da29E9i13z+RvUsxvdg7qLBOn Lr6g== X-Gm-Message-State: APjAAAW+AxiTEAFumRF+QzRQmDA7IZLDEPvK0pE9jfhukgv5b5RBUiEA HJXfRPHGLG4cqTzf8wEJAq1iEw== X-Received: by 2002:a1c:7907:: with SMTP id l7mr299383wme.37.1581634276342; Thu, 13 Feb 2020 14:51:16 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a16sm4574682wrt.30.2020.02.13.14.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2020 14:51:13 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 150151FF92; Thu, 13 Feb 2020 22:51:10 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 05/19] travis.yml: Test the s390-ccw build, too Date: Thu, 13 Feb 2020 22:50:55 +0000 Message-Id: <20200213225109.13120-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200213225109.13120-1-alex.bennee@linaro.org> References: <20200213225109.13120-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::330 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'.