From patchwork Wed Aug 30 17:00:04 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: 111327 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1242877qge; Wed, 30 Aug 2017 10:05:37 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6r6h+ZAAZTKVT73jCet9nPqmoS+LYf4Qla7r2IIlI6rW+FsY9O5tDDq3S2VMW5+TPV3JRL X-Received: by 10.55.217.150 with SMTP id q22mr4059722qkl.343.1504112737353; Wed, 30 Aug 2017 10:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112737; cv=none; d=google.com; s=arc-20160816; b=MHyVKmZXErxL5JYOvN9KjhS3O62HoIJqNLpmz9FkreI0gnFnItd2Lw5jGYcVuKzvR9 6axZK7EQubb2oxe4Y1CAvLWS0EglTXCD8YEL/5S+tmpn5fc1q90tgDrjF2gYMgp8tAXi 7NxJKZhR5NNbJpG0Ce1iFtH0RqwBKWQiq2nawhbQrER00DqIgKNUIAJt5P/G26yp+o9Q 6GAlJEmyD2gTUKH+30B8h5lk4RntF6rVzodXvOL+QKtuXNrdtoPJWJnVvrb6saygRAZV nMUaVN/AEWhmhTiIM08w4l9LCnQLeWzDTLq40nVdetgjMezMBvUHTLOVrKHQhRMoK38p 2Beg== 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=Pxqr8Oj7YPf69BpIPHp6pgS8Fhs4GgIpinPJYbFo02U=; b=Qf7ltWJ1KUsQ6fM8dso+mD7q/VBto2wiSNdSbUbqYBIH8v+6dAXMporNmQXtYt7R+o jCS8vVymitMHbPFl9wAva406+JgOJpcZTqkqWlMebU8uLKajEuXGit5EQFhqQ7fiEg1/ 7DzpYvzvnQSx5VQodOQXuNz/L1zjUm7JhUheiKQtmOpl1kOJhU2et73x/bejzlkdq8sM hms/Ckh09CrAuzWNPCfU3fuTzPNGcx3yBwBY0M1LMpIYNL5YjzWh7VAc36i8v8Itm2NH oo+Qja7JYGEGnL+PsmvgcqVgR3vXEDAAPDUy/ceaUSv80lM/tmqqZZnBqSaX1A8ixKqA nBeQ== 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 v6si5581744qkd.109.2017.08.30.10.05.37; Wed, 30 Aug 2017 10:05:37 -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 087A562CF5; Wed, 30 Aug 2017 17:05:37 +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 921E362DF3; Wed, 30 Aug 2017 17:00:49 +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 EEF9262CF5; Wed, 30 Aug 2017 17:00:34 +0000 (UTC) Received: from forward4o.cmail.yandex.net (forward4o.cmail.yandex.net [37.9.109.248]) by lists.linaro.org (Postfix) with ESMTPS id 0150960C4F for ; Wed, 30 Aug 2017 17:00:26 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [5.45.198.129]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id 4E14C2103B for ; Wed, 30 Aug 2017 20:00:24 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 19B1E3240BD5 for ; Wed, 30 Aug 2017 20:00:23 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0NLmZinD; Wed, 30 Aug 2017 20:00:23 +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: Wed, 30 Aug 2017 20:00:04 +0300 Message-Id: <1504112406-3108-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 7/9] travis: enable full debug option 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: Dmitry Eremin-Solenikov The --enable-debug=full option allows expansion of ODP_DBG() and ODPH_DBG() debugging statements throughout ODP. Add this option to .travis.yml to ensure that these are properly tested as part of regressions. Cc: Bill Fischofer Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index bd2e3e32..05cddbc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -155,7 +155,7 @@ script: --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF - --enable-debug + --enable-debug=full - make -j $(nproc) - mkdir /dev/shm/odp - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check @@ -180,7 +180,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -191,7 +191,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -202,7 +202,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -213,7 +213,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -224,7 +224,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -235,7 +235,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -251,7 +251,7 @@ jobs: -coverage" --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" - --enable-debug + --enable-debug=full - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy - stage: test