From patchwork Thu Jun 15 15:00:08 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: 105659 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp845455qgd; Thu, 15 Jun 2017 08:02:24 -0700 (PDT) X-Received: by 10.200.36.194 with SMTP id t2mr7393542qtt.147.1497538944602; Thu, 15 Jun 2017 08:02:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497538944; cv=none; d=google.com; s=arc-20160816; b=U05esRBp/pKaCl0l82Uoq/RfJKZgwrCl64KABGrvlYFrSZjTavQfw0+pSOaOy+nfp1 3mTptb629A5tmBuT03zFt5gAUVhjQYeaic6umg9QbKldjI2TNZvZehOEf88cAL/Hgtp5 mRAtoD6i/sGA0XThnOPRu41gQ3VoFEeOf3SzXtqi46ZqNlw3TQza1CAg9fUHE7tkGb3u man6HRIzKC/8A/uhJ2sLR/w9f2af3Sab1zMcO9zR7GguIKGzS1zVImb0RbieP75jqfqW HL0b2paLMjqOWoU6om6+aA6J3X3WrkvHAOmp9q2MjDU7rLDvLLsTD/zcyLC89AC2m3Jb Uhww== 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=piZhmQfPodnPvfyAN0tdD9Uxw8eKzzZbE2IntFnPA0E=; b=vBdIcutBHtYAd5+maireabxYOrB16Eka6r1eMVMU3s7UyhH2yacPEZbndFEIYdaPl3 4iHLivKbwCW6XYWri3qVEcb43foDbNEvmekB6YXfSd2R2OsV5KEZDh8fyxEFFlI0FrN+ OTcxgMD38z2daUjVE/Zvt5hjC4knrSsm3iY9GzX7gjqBebvEGv8gD478P/uQkjyIHBw3 rkcM+QThjlbsgsH1yIZT8eGUCXpnHL20rGjJHpj7WLofP5F2/ix9EZd5QJPDdIrm4K2G uJ5DVIln3BZZViclyLYDUQb4UTcyswn7IdtI1X82zf3yH4QYpsTvyKP0hhfxYazr7J0d shtQ== 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 p197si366631qke.76.2017.06.15.08.02.24; Thu, 15 Jun 2017 08:02:24 -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 3A1EA60C15; Thu, 15 Jun 2017 15:02:24 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 0640860C18; Thu, 15 Jun 2017 15:00:59 +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 B8FA260C1D; Thu, 15 Jun 2017 15:00:53 +0000 (UTC) Received: from forward2p.cmail.yandex.net (forward2p.cmail.yandex.net [77.88.31.17]) by lists.linaro.org (Postfix) with ESMTPS id 32CDF608B0 for ; Thu, 15 Jun 2017 15:00:24 +0000 (UTC) Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [77.88.61.129]) by forward2p.cmail.yandex.net (Yandex) with ESMTP id 310482069B for ; Thu, 15 Jun 2017 18:00:20 +0300 (MSK) Received: from smtp2m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id F097F23010C6 for ; Thu, 15 Jun 2017 18:00:19 +0300 (MSK) Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id tzE4diCb9B-0I7uLj5F; Thu, 15 Jun 2017 18:00:18 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 15 Jun 2017 18:00:08 +0300 Message-Id: <1497538809-15817-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497538809-15817-1-git-send-email-odpbot@yandex.ru> References: <1497538809-15817-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 49 Subject: [lng-odp] [PATCH API-NEXT v4 3/4] travis: add sudo run make check 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 make check has to be under root to validate pktio like raw sockets. Also odp temporary files can overlap with previous root run and permission to overwrite that files is needed. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 49 (muvarov:api-next_travis_fixes) ** https://github.com/Linaro/odp/pull/49 ** Patch: https://github.com/Linaro/odp/pull/49.patch ** Base sha: 4f97e500a097928e308a415c32a88465adc5f5cc ** Merge commit sha: 9da6cb2fc4e7c9c4bb5da96da553c50eeffcec59 **/ .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d1ca5a66..64f4ff88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -130,7 +130,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" - - make check -j $(nproc) + - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check -j ${nproc} - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy - stage: test env: TEST=distcheck @@ -138,7 +138,7 @@ jobs: script: - ./bootstrap - ./configure - - make distcheck + - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make distcheck - stage: test env: TEST=doxygen compiler: gcc