From patchwork Wed Aug 30 01: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: 111264 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp151096qge; Tue, 29 Aug 2017 18:01:22 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7rM5iIlS3Ek9OGiUfA9cFV7kf4L80Vs9KK61VrrXxmIZSfyAhpCIH8hjk0xneZ4AOzFWg2 X-Received: by 10.55.58.2 with SMTP id h2mr8627015qka.30.1504054882065; Tue, 29 Aug 2017 18:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504054882; cv=none; d=google.com; s=arc-20160816; b=eo9OQypV7WQyZD+fJEUHPHWa360VeUQRywirqizPF2Vwhz3mpEZH2OS9/QQQ2Y41Ll JQmDEEqklXXY6G8IwGSqS7Bea1U9oPRw6qx3FX3SW4QVlYzX6pBfwR4sVbFtyOZEX2+c phna1QZsnJbFLmck5QgzmN6onohpcQ/Cgj4XBQ7TLiwUkRsw0pnmMIL8hm/eHewd2wen qKUtSXEAgrOTyLkIVSdd+qbFMZ/Cipj8x4dbO+6czclZJ84HOX/LYw0be/m5vZohC2jv B8q9ApG4zHGv/eslZh8A1JKCh8+MJ5rlpWw+2UNXm6Wb7ZEic/Z8ERJUX02k7xxZHBdp 72/w== 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=2POGnMV2ISwc1kgdfRkWxzIeANFbEkmnfyJUainWT0c=; b=SW1W/dLPhwDEnPf9A+rwIDvfCITfAbelAbOnkYOY8wTD4osJYgBi2NiHQFbyc3SFDE IN3gCH4iMATAuxFrm8TpqYvyyDx0M9Zcemv5RUeLFpEkdq16gnTdChhcCx/Rv0pC0HYV pzVSF8dlVsxFKHHCsRxGoHrwm1+7X0LU9zQy9E90ArbtHEkxZnDxUB9JD/CIX5/krNkr 7Y88vuxmnZ36iOxauGzNLPUhpdOFnu849l++VlUKZ2RAkZUe4m3pBAN1IdEkhutEKWr9 vI0pUGt2dgsRrYOVE1x8HgVlz/yha7C7b3ZIyILJERMz29/Zsp8bHkpZ4qvIbxWjnL9S 89hA== 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 c33si4031813qtd.229.2017.08.29.18.01.21; Tue, 29 Aug 2017 18:01:22 -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 BDB8460D6F; Wed, 30 Aug 2017 01:01:21 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 6A25460D7C; Wed, 30 Aug 2017 01:00:31 +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 D447160D74; Wed, 30 Aug 2017 01:00:21 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 3862660C4F for ; Wed, 30 Aug 2017 01:00:19 +0000 (UTC) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward105j.mail.yandex.net (Yandex) with ESMTP id A753318513E for ; Wed, 30 Aug 2017 04:00:16 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id i8Q9wLhsZw-0GjOskLf; Wed, 30 Aug 2017 04:00:16 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OSBBaVsSJH-0FC4LH3V; Wed, 30 Aug 2017 04:00:16 +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: Wed, 30 Aug 2017 04:00:08 +0300 Message-Id: <1504054809-22152-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504054809-22152-1-git-send-email-odpbot@yandex.ru> References: <1504054809-22152-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 153 Subject: [lng-odp] [PATCH v1 2/3] travis: add --enable-debug-print configure option to tests 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: Bill Fischofer The --enable-debug-print option allows expansion of ODP_DBG() debugging statements throughout ODP. Add this option to .travis.yml to ensure that these are properly tested as part of regressions. Signed-off-by: Bill Fischofer --- /** Email created from pull request 153 (Bill-Fischofer-Linaro:travis-test-all) ** https://github.com/Linaro/odp/pull/153 ** Patch: https://github.com/Linaro/odp/pull/153.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 54705308dc2e80267a6ca751a99089bbdb744fc5 **/ .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 478d4200..513e87fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -162,6 +162,7 @@ script: --with-netmap-path=`pwd`/netmap --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF --enable-debug + --enable-debug-print - 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 @@ -187,6 +188,7 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug + --enable-debug-print --disable-test-cpp --enable-test-vald --enable-test-helper @@ -203,6 +205,7 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp/odp-install $CROSS --enable-debug + --enable-debug-print --disable-test-cpp --enable-test-vald --enable-test-helper @@ -219,6 +222,7 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug + --enable-debug-print --disable-test-cpp --enable-test-vald --enable-test-helper @@ -235,6 +239,7 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug + --enable-debug-print --disable-test-cpp --enable-test-vald --enable-test-helper @@ -251,6 +256,7 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug + --enable-debug-print --disable-test-cpp --enable-test-vald --enable-test-helper @@ -267,6 +273,7 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug + --enable-debug-print --disable-test-cpp --enable-test-vald --enable-test-helper @@ -294,6 +301,7 @@ jobs: --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" --enable-debug + --enable-debug-print - 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