From patchwork Mon Sep 25 20:00:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 114184 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp2993803qgf; Mon, 25 Sep 2017 13:01:58 -0700 (PDT) X-Google-Smtp-Source: AOwi7QB5oVXFyrW8sayZIq16VZHxXVTC/LVZGlq4oK3xMPWnLW85zPo0sWCL2CGROqm1a62uyXcP X-Received: by 10.36.10.8 with SMTP id 8mr2395199itw.112.1506369717684; Mon, 25 Sep 2017 13:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506369717; cv=none; d=google.com; s=arc-20160816; b=oTRTyE8EvDbNhbVmzDK+SHA7ZFA4Luof3+cFBD3nWQxGmenNsUYP2Dn0lRijkbO4aF K9/aGBYWX2bD/Z11vfAMGMPnAJH58SstbrMP8IoIBrjMGam5JMHVjgeyoDmqaKZavgrG s2/YS7rqZfStv/9rq8gyVsa1964RgcZLGvcbL9F8CCDO3izgexc56fg4nSgeRN+ZzIqf 1buzZ9skAPyo+ffAmw3L+umcwMwEtsZmBvUyOulRt+Vy1yhE5RbesPUkvOAn1stdcVqQ yQkfP3gWIcnV9rMEz9hAeNYtCbPaer/80d0etxbNcX1jd7tRr81pJ5ZwanaI8tjTMUvo zBMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=pWT76IoC0mt/JWNaCdOboq/WPz274mKB0UkYfSJ3QyA=; b=qWhgYw1E4rRpdur8ZiWOERk5dPCuMVf4csWZizT7n80yLEWIweLgYo+d1EEmdPQVvz RTPyJFPWA+FJ+f8DXeYOYz51s1I8zKnsI/BUNGISOwxpNgGta8OSZ2dN2nhMYN2LEfmN W/b/KqQZC4hTb0R4+ugj4SS49xnxjM5BVb1JK+LMrO7BP+qD+LdWV9qgQhkZIyeOeuJa FiSpkh4SEAg38l+w2A9KAQ6EMNNJYyJECp93sABPDvAVVvQYjQaIhfwCbJxwcMT62K3r k/f10cxdCkf4C9cpYqQxkjD5tWxsaw3sq7WSf6IrHOGEWzjtWOpjqO/P3YkHEZMz65Hh 5UDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id i125si5981787ioe.145.2017.09.25.13.01.57; Mon, 25 Sep 2017 13:01:57 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 2021F607AD; Mon, 25 Sep 2017 20:01:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 075AE60BF2; Mon, 25 Sep 2017 20:00:55 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 6552D6095D; Mon, 25 Sep 2017 20:00:48 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id A0A0560A79 for ; Mon, 25 Sep 2017 20:00:26 +0000 (UTC) Received: from mxback6j.mail.yandex.net (mxback6j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10f]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 0EAAD181518 for ; Mon, 25 Sep 2017 23:00:25 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback6j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id txKGrgeOB7-0OIOqkMF; Mon, 25 Sep 2017 23:00:25 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 67FBHKZRkH-0OUqBn13; Mon, 25 Sep 2017 23:00:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 25 Sep 2017 23:00:16 +0300 Message-Id: <1506369616-26859-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506369616-26859-1-git-send-email-odpbot@yandex.ru> References: <1506369616-26859-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 191 Subject: [lng-odp] [PATCH v1 1/1] travis: correct doxygen warning capture X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov use if else bash syntax for grep warnings from log. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 191 (muvarov:master_doxwarns) ** https://github.com/Linaro/odp/pull/191 ** Patch: https://github.com/Linaro/odp/pull/191.patch ** Base sha: c2ed3f71a8d61449c5e35ce201f020a74a8ea244 ** Merge commit sha: e93a035d908ca8d224ca3a24fe2ebc85889781f6 **/ .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a9ae219dc..395feb0ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -249,11 +249,17 @@ jobs: fi - export PATH=$HOME/doxygen-install/bin:$PATH - # doxygen does not trap on warnings, check for them here. - ./bootstrap - ./configure + # doxygen does not trap on warnings, check for them here. - make doxygen-doc 2>&1 |tee doxygen.log - - fgrep -rq warning ./doxygen.log && false + - | + fgrep -rq warning ./test.log + if [ $? -eq 0 ]; then + false + else + true + fi - stage: test env: TEST=checkpatch compiler: gcc