From patchwork Tue Oct 22 19:16:50 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: 177219 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp5299926ill; Tue, 22 Oct 2019 12:24:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiVl9m1BmgLOUWSe4Xd9zkUsnUE+I2w8yWxZMBHgeUmIcVYfHRC+8IHuxyWK/IkA+1C90s X-Received: by 2002:a17:906:3592:: with SMTP id o18mr13668468ejb.17.1571772277292; Tue, 22 Oct 2019 12:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571772277; cv=none; d=google.com; s=arc-20160816; b=ebRqeGtSlbjGjbTv4SBmejTiP2qxdzPhMofIU2xl2mU2KGDFdDTywPtyPA/FkSD8nn fFwQXhlA4wtOkpOaGL1DgKfvQYJXETsiOzlEDsZVoc727z4CFMDAF8Iy9J5iloagnA2U uDbnXRZMmjOk9ZnW/jdNjWAJuivosUukr1wzsJjjzq29p6Y96yWXqKH8Vn7gOHABrus+ ypw4yvj85h337vA9VaXGtbLCKpGYIP+oVfb3pP6ahmjblKyt9JsNJbnU32uvHScDBot3 B4OGS8LUTiYL25TRFtxFzNtw9OsNk9J7/mWQfMXa6MiWRB284rY3TR8yWiD2TM4dRmYF lyqw== 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=vvU9WS5QfaOqxMDyhhQhtaEUX4XoV/gPkr7meS65DwI=; b=YstabuF/bD+JENBD4u7GUSPEG1nIBXXYlPBOTMgPCjVeWSa5MZAtaHW5mjcQpsnTJs wSCiSmEsejs5H9RLzx7IDG+szf0SwpPsqUS9qYdtr8duWSzK+a8x4xM8x5qwhpgkyg6w J5A5uQcYA+dxeV3osqVvKyASlId+V1gbWyAWVYZR52vSldTfrH88CNV/LGIDaVXdEjF9 yFEUtkkDg4A+Jw1KBexaRZCnZ8DZPGpDBNOSWZ1SsKZLICt8OAGeg+S3ftx6C2DYK34a 2jOqcmjriklw2lk8MJQCYOkLpe4zazMYJiAeU0/iN4J9JlAJ6O0lugj6bIeW70lGxoy/ uqWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eU33qTDy; 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 b47si5965280edb.286.2019.10.22.12.24.37 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Oct 2019 12:24:37 -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=eU33qTDy; 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]:42134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzlj-0003SR-Ri for patch@linaro.org; Tue, 22 Oct 2019 15:24:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36394) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzeh-0002Rm-Gz for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005L5-81 for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:18 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:41461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzee-0005F8-0B for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:16 -0400 Received: by mail-wr1-x429.google.com with SMTP id p4so19334487wrm.8 for ; Tue, 22 Oct 2019 12:17:11 -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=vvU9WS5QfaOqxMDyhhQhtaEUX4XoV/gPkr7meS65DwI=; b=eU33qTDyWdDXR4rB/zkWNWIvYySHL+wtrLwLJOdtiZbqfabi2w16K72m5U5VuwQNHI 0fzTAjN4bHXkEv5/kn0T2P77lj6pL/y2tzALidWg+KcGwNVQ6/TO/tsEwkV5ZuP33VjB KDUvKhX3iX0hqRg9Q+07kc++OeXjtInX/0ddBx5wQNYOW4UtMORlHC+MxwXwR1Gvw+VY D4EdsOjQ9drV7btBDmcAEeET7p3bd0tCbgrsKVeVXbaoAO7WFmdcYkJjY6dZPMAhkBc1 o+x6bJBl9r3DQ0e//MsorrHmv54KtPd1ORI0rspyDjp7yHFEs3Z86/Y5pDmGu8YKeTeo VH3Q== 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=vvU9WS5QfaOqxMDyhhQhtaEUX4XoV/gPkr7meS65DwI=; b=WzDxSNyzTWgTxfklE0XvCOIhZqEBxQkLZeYy7Z0Cm9ItYG8MfNrVL/vWXin0KF891F +lF+gqGsF+/Psuo32cfCbzqyhvTyq+nNsiwum4e4+R8JMrhbrDasnLkAN3tRom9oO7Wg bxENqoTkVIqUff9EFxcaCkquJvL2DE/oygGMYCOAd7kYRMCQICA6Xirn2Zt3ndBpDDVA 6/BgqD+SjL5gZJtoTKRBFl3OQoTiNAHL8WNoN8KUgIphrMeOtvTAnFGph5Wop1SJJPIi XWWzJB/Grv8/28AeDtULpiXcCACUmA6J2/s3JS6w5FYqCKZpX+RAFGSCoZtYSOBxdqbT tOww== X-Gm-Message-State: APjAAAUqaFoCJkYtgcmAXxq26vBNSpgLGOcRz7AZzeYS1Z9ACsEyzk3p YVn4MCe43j97501a6SfQ9dqXBw== X-Received: by 2002:adf:e2c5:: with SMTP id d5mr4646065wrj.283.1571771830073; Tue, 22 Oct 2019 12:17:10 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id n17sm7601668wrt.25.2019.10.22.12.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:08 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A5F441FF92; Tue, 22 Oct 2019 20:17:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 05/19] travis.yml: Fix the ccache lines Date: Tue, 22 Oct 2019 20:16:50 +0100 Message-Id: <20191022191704.6134-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-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::429 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?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , 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 Message-Id: <20191009170701.14756-5-thuth@redhat.com> --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé 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: