From patchwork Wed May 13 17:51:26 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: 186673 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp669137ilb; Wed, 13 May 2020 10:51:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjG+x3sbdE67sCDEpGCWg0hBCAJYHbE3h4r0tLBUqdDd9EEDddkhOGiidk6kVeeOMEoC71 X-Received: by 2002:ac8:27ed:: with SMTP id x42mr266978qtx.231.1589392318024; Wed, 13 May 2020 10:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589392318; cv=none; d=google.com; s=arc-20160816; b=QSkBtEFG3wpBrk4ytl24zVaL/BmQyUQ/UGGKyotrIVHyBNH9LuQIYQ3rPTZeQnvmnr G47BZV1Na+g0YJ/zLj0/yIGIPrlorpD0glF6D/MFAFif5KrNGuO9Z60YyLxLH+JLg+Ry MI8Kin/VWkE89yKVpVhQIddCkjCXiQW+xWG7PeeB/FGNh51Jrb/s7/53d1Zhiz6CVahq b6jUeXjzNLAhPw3rkLVI5+MMtzBcYTIk22ct3c6myvWZk/cHGqI3cS96+rweQ0tCCVBq r6wQhZlqAGzr7M7jqwNKDW4aOYAGuv7HgJQ4Rc8fjdm58wcTZpH9/e/aJUoS1Pb1QfZe ThAw== 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=HFDLFAKOqzqDM16uDgH8kQv5arlsfvslWta0/Fd6rk4=; b=PwFeduW6ebpYUskWtNmrUjoq9O1wzfR+gn1R2VJFM8VMO5dMyQ+lg9I8EQMC3YyJIJ CWJ81DdmFh18znkpHTwjB8SZ9Y9WSfD8k5JcF9+MwFJfDkCDjg/GvewBYPojay1V453G OS3s0hy5rIyDAmRsXvBXZ9df0DErFHiVFxlDwPrB7eO4t2bqgz2A5SpK9vmilaFSsibi mp8nSMGSDlkgFpYA6pQ3IZaKpu+6jCSOI7z1/oG5MnvhOdMsrWlovgklHXOfu/nA0pEU xWGEfILr7RS3OXwDwBDYyZq21L0VHn0k4sXTBCsRtOLuPBlDrwDew8m5zvRokPT/mj5Q TWbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FdgXZ2PP; 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 w9si269604qtb.187.2020.05.13.10.51.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 May 2020 10:51:58 -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=FdgXZ2PP; 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]:40810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYvXx-0000jh-36 for patch@linaro.org; Wed, 13 May 2020 13:51:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYvXg-0000jC-CL for qemu-devel@nongnu.org; Wed, 13 May 2020 13:51:40 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:39574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYvXf-0004xN-GS for qemu-devel@nongnu.org; Wed, 13 May 2020 13:51:40 -0400 Received: by mail-wm1-x32d.google.com with SMTP id y24so29581936wma.4 for ; Wed, 13 May 2020 10:51:39 -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=HFDLFAKOqzqDM16uDgH8kQv5arlsfvslWta0/Fd6rk4=; b=FdgXZ2PPep7Gw/rPsOqbqlantISX5CYa3goFQ7oYj3/KXa3OMC24rnfaVSjU/CHNdl rR/bV5Dl6f6JNkUTheYRXmbcwm6EeG9yBWSIcvS+pWFkJVbwzbIPFUocjE8+SLhjGxzJ BT3JWyBjrXaxB+CrjQKT+ysvmO8ctZoZalbPPSLZGvRx4wmHHFCnYgZ2OAh9qQA8kfLg GsP/mHOs+QF7bgradK0Xixqr6Iu3cQrsZqERbb4Sh359Rr3gqSg+44vS4bBdwH9Hvnh8 o7kh18Jkp2X1DZmvOqED7ybrH82JpgfG186z866ckST0H1r38YpanMGWLElHXeE7GbZh chhw== 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=HFDLFAKOqzqDM16uDgH8kQv5arlsfvslWta0/Fd6rk4=; b=i2/ba3oWihmIP+DP56XcC5R/bxiAX7KkUq5A26VW2UNy9U64iNfjSHHzzo420zH1nM bDfs9gYwoXI3kmKfCtavPA8BreGZAmzt9/HMHpUG2fIbBGh9eqmUK6imu27pp2EcXMrf JElq5JKk55KRzx2O3GimBpY309Fqw5nbgo4ZMfUfEQHk20hckMIQ2W+R34ib3yGZ/OVL my3XXh7PX2W3tX0soDfgjdH1PQelP7SozL2EXENqzmrk/py+xu/OAx6T+rxi8SP3Q1BG syr87UvWt93pKlacadziwvefvYxbfzLvVH/kNvMOys8hCreLLg4xDEbuNshLlHGazbbZ gDvg== X-Gm-Message-State: AGi0PuatJcbqlc9A++zV+/vAgtu8E9rkAzZh9xivXAj6xkfOSALhrgJG qYuBq6nzF+9TAPe0zt6z5bwI8A== X-Received: by 2002:a1c:5988:: with SMTP id n130mr34162317wmb.187.1589392297948; Wed, 13 May 2020 10:51:37 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q17sm19462879wmk.36.2020.05.13.10.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 10:51:35 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 02B8C1FF8C; Wed, 13 May 2020 18:51:35 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 02/10] travis.yml: Improve the --disable-tcg test on s390x Date: Wed, 13 May 2020 18:51:26 +0100 Message-Id: <20200513175134.19619-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200513175134.19619-1-alex.bennee@linaro.org> References: <20200513175134.19619-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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 Zheng , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Cornelia Huck , "open list:S390 general arch..." , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth Since the s390x containers do not allow KVM, we only compile-test the --disable-tcg build on s390x and do not run the qtests. Thus, it does not make sense to install genisoimage here, and it also does not make sense to build the s390-ccw.img here again - it is simply not used without the qtests. On the other hand, if we do not build the s390-ccw.img anymore, we can also compile with Clang - so let's use that compiler here to get some additional test coverage. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Cornelia Huck Signed-off-by: Alex Bennée Message-Id: <20200512133849.10624-1-thuth@redhat.com> --- .travis.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) -- 2.20.1 diff --git a/.travis.yml b/.travis.yml index fe708792ca2..1ec8a7b4657 100644 --- a/.travis.yml +++ b/.travis.yml @@ -502,9 +502,10 @@ jobs: $(exit $BUILD_RC); fi - - name: "[s390x] GCC check (KVM)" + - name: "[s390x] Clang (disable-tcg)" arch: s390x dist: bionic + compiler: clang addons: apt_packages: - libaio-dev @@ -528,21 +529,10 @@ jobs: - libusb-1.0-0-dev - libvdeplug-dev - libvte-2.91-dev - # Tests dependencies - - genisoimage env: - TEST_CMD="make check-unit" - - CONFIG="--disable-containers --disable-tcg --enable-kvm --disable-tools" - 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 + - CONFIG="--disable-containers --disable-tcg --enable-kvm + --disable-tools --host-cc=clang --cxx=clang++" # Release builds # The make-release script expect a QEMU version, so our tag must start with a 'v'.