From nobody Tue Feb 10 06:44:03 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1571772234; cv=none; d=zoho.com; s=zohoarc; b=fXyIEmeJNi9Mvg7vwaNEv6fQn2SoB9tJQNeEqO+S14kp0+KIOuHjePpNA/BGzvn6yzkQCSoIJYHbZykcpGPkXMQLapRlLqZtWJrIcj0xAgsGhBAK9hhcZ9+LyxY5wDL9SJDzPJTfinx5KmXWMQ16dysJMoNvLcjXv0jdSL/0W6Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571772234; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=vvU9WS5QfaOqxMDyhhQhtaEUX4XoV/gPkr7meS65DwI=; b=OqaXvbBy80V2hOBuKA42/k5EKlL4NhhM3U9ighJ2vr8zlIXegSlzl7mGQ6CM3IiyPwG0n3dKCE9M7D2J8AeJO49fz33bAlMcQ8aLcicnW59QYyiQg1Mg2hcMiZU3nKQkJTRoYaEc8T7g1PIfDvJXNTmq8f/t2l77LbaIauP3EGM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1571772234090310.0640108988646; Tue, 22 Oct 2019 12:23:54 -0700 (PDT) Received: from localhost ([::1]:42098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzl2-0001rD-CO for importer@patchew.org; Tue, 22 Oct 2019 15:23:52 -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) 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) 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-Google-Smtp-Source: APXvYqxqlMbBD7Ti5jJXE80tdXUa90e0e9ozMVxCtDGfl9D7U9IXlkuSkw2FmXGglcjF68X8AFGemA== X-Received: by 2002:adf:e2c5:: with SMTP id d5mr4646065wrj.283.1571771830073; Tue, 22 Oct 2019 12:17:10 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=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 Content-Transfer-Encoding: quoted-printable 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=20Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" 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> Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e65e53f3d7e..7e0d4ad2b31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,13 +91,13 @@ git: =20 before_script: - if [ "$TRAVIS_OS_NAME" =3D=3D "osx" ] ; then export PATH=3D"/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 && e= xit 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 =20 =20 matrix: --=20 2.20.1