From patchwork Thu Oct 24 10:22:28 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: 177401 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1995402ill; Thu, 24 Oct 2019 03:41:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwR6keCyKKajZTLzZZWkWp04zM1oX0aTDcjWLNiKnBir7MD0RkbBODLplaMP30ntlhe7sxA X-Received: by 2002:aed:358c:: with SMTP id c12mr857729qte.54.1571913669832; Thu, 24 Oct 2019 03:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571913669; cv=none; d=google.com; s=arc-20160816; b=M/QocvoV3I2sBAVRqb1GWE2S0mQYnEQ3TgsYee9MseUI2JVfEBMx4u9+NCbVIQlyIy s/aH/CH9IsgvewkzTJdvLUL8zq9dHtiYbPw40nFBt81cDNtwlyNBv1qn81v+fQLzgK7s Mhg8iEYo6xdCro7y/ZKGolrmUVpBOFMWDw7ncbjOBJ7nNl6kQrEvJEFpYZyqDRO45RxU GaHtD3TW4N1T/3JWMfZqrgLn1NLyNKSaQChxGHOd0fjWUBqlqbd9nfxiCmJZ4y8P5Mb6 mlaHMoXu1NUsDG2fYVaR+11Ev+zZcUENkdb2IKIv8Cpiu3X5o9Q8VrwV0H6GCMU9QyE0 5v0Q== 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=h7SouDH/ir50kc8xWfv14MzPQ3OZz+xXVPPsfFcQ7S4=; b=dU7HF/UEXXH5XWafJt8m/w1buCZImf1gWhdUUEtxlUZRl32y5s/0w3OSIj3A3HhZ0a hHKgOv75mCZAGfnjOC6VWkkcaJrlz0szSxsgAKoAhufwf/c8wkoIE2R0FyQ0KClc0KN7 5OKgOuuS5aqF1S3YyIwm90RN+rAZ2++BPCiWm1k8Sbl8ESJg+A1NbbaVKRNvqoIlUgqY ctWfI4fYs7ioar7UJJt/8AbOMgYRsP/8BWjOwZyEBfL8H09hOMnPPQaxCR0pDDK3x0sg GXgy1+irfs1gTAFO27sKtDINk7zHbT1M3AoBUSZg32ulRNR1HvqLWpK1q7TYTXM5SeBD sA6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=paaJgLVf; 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 u13si12970576qtv.247.2019.10.24.03.41.09 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Oct 2019 03:41:09 -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=paaJgLVf; 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]:38394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNaYH-0004gR-2R for patch@linaro.org; Thu, 24 Oct 2019 06:41:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53952) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNaGX-00027i-PN for qemu-devel@nongnu.org; Thu, 24 Oct 2019 06:22:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNaGV-00045T-Pc for qemu-devel@nongnu.org; Thu, 24 Oct 2019 06:22:48 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:42635) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNaGV-000450-Iw for qemu-devel@nongnu.org; Thu, 24 Oct 2019 06:22:47 -0400 Received: by mail-wr1-x42f.google.com with SMTP id r1so15633327wrs.9 for ; Thu, 24 Oct 2019 03:22:47 -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=h7SouDH/ir50kc8xWfv14MzPQ3OZz+xXVPPsfFcQ7S4=; b=paaJgLVfvSEMw8qV7MNTyvwsw5tcPZT2rrQZMNNdlMGZIgM8BK9wY49NtBOjoFV4Er MnoNe1wxNKE9HovK/28rOPFe2C4gmBKcEZ/D5WVPPBvGbEJm4uJ5gTHpZngA1Y/KQi3h E49mt+jr9fk4U0HXh01aB18EQ4Zq59djWwgshP20ILirHPJ35Hvxu4UhFjV/eZO6G6N7 94OwW3qJ8ZrqyQUJ8tJEbumFA+NGlUKNZsX/DcXHEE8Vi1XQRqymtaa0kn3KpjkwX/9M gwdatxliXKAYnTHJQkCAgIN7lDrG59R7SlNkJTJ7u/JWeguyb47USBlmgtLhsRFw5Cz0 navw== 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=h7SouDH/ir50kc8xWfv14MzPQ3OZz+xXVPPsfFcQ7S4=; b=DS3gGWTArZI2OO4x1u8HRbuwnPPNJEX3TW/Hf1MfNDQUIoIs/WtwZVGpNonzTFlKvW NHdTHL0bnWsA1/ncIzM+Xvo9yc75VQ39hu0rbJwWf/jqrPjFwLh6Z2RPTOB8Hu0lnBix /IIkYwbCUy2pABhySChXjfSi8eF6kU+BLy9m0hzX5VjheZzLBfi2j8d2poqcnkFVun52 eX/nFLviGSOmVjqHvXXQPGqLpVJr4GrDlSZcuBP0/SD7lLr7L5sSrgKhVZGOjzyf0y/0 PmmWL+emWiPJZs+VVfegFGW0Gi274eL5Doj7UZCq/gpO3Y40YRgLfRBjWXd1FMvdnTL8 twUw== X-Gm-Message-State: APjAAAU2l/6u8WJN35d2HGKsXwAAiBIz1zAtmGWmv2HXkeV8IOmR49j8 uOe9Cw+fg6M1BxwXPCETalTFKQ== X-Received: by 2002:a05:6000:1621:: with SMTP id v1mr3316868wrb.62.1571912566508; Thu, 24 Oct 2019 03:22:46 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s12sm24444274wra.82.2019.10.24.03.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 03:22:45 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C11591FF92; Thu, 24 Oct 2019 11:22:40 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 05/17] travis.yml: Fix the ccache lines Date: Thu, 24 Oct 2019 11:22:28 +0100 Message-Id: <20191024102240.2778-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191024102240.2778-1-alex.bennee@linaro.org> References: <20191024102240.2778-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::42f 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, stefanb@linux.vnet.ibm.com, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , 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" From: Thomas Huth The "command -v ccache && ccache ..." likely were supposed to test the availability of ccache before running the program. But this shell construct causes Travis to abort if ccache is not available. Use an if-statement instead to fix this problem. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20191009170701.14756-5-thuth@redhat.com> Signed-off-by: Alex Bennée --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/.travis.yml b/.travis.yml index e65e53f3d7e..7e0d4ad2b31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,13 +91,13 @@ git: before_script: - if [ "$TRAVIS_OS_NAME" == "osx" ] ; then export PATH="/usr/local/opt/ccache/libexec:$PATH" ; fi - - command -v ccache && ccache --zero-stats + - if command -v ccache ; then ccache --zero-stats ; fi - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } script: - make -j3 && travis_retry ${TEST_CMD} after_script: - - command -v ccache && ccache --show-stats + - if command -v ccache ; then ccache --show-stats ; fi matrix: