From patchwork Mon Aug 21 22:00:07 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: 110590 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1841264qge; Mon, 21 Aug 2017 15:00:52 -0700 (PDT) X-Received: by 10.233.232.149 with SMTP id a143mr26789704qkg.339.1503352852094; Mon, 21 Aug 2017 15:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503352852; cv=none; d=google.com; s=arc-20160816; b=s0QHmlXOzrlvrQhbFDEYQ5kxnUG1+X68RBGHeh1ajJ0Wlc+BF8N5LUaHyABbvvWP9K fTmHalqc4zt8C5f672/PC+V1DfP27AM4BJpYjBb6I8a6nKhVv8QHbwoXvXEUt9z627xH SyPihHUTnqgMDpFC/7tp7nZuY6aLrG3wdB28wG5czOovBd3qT9jbJzZjNTWa9hbU32k6 73iRVxl+/0IfZXwFFsuNBphnYP2N2Ta3ijdiGB4lzAWSzihUXA2MZhcXyT3m4LOAo+vj /nZy38k63rGcMQHCJafSXQJqtNFzJnki73uME3xq13peonImI8T7Xmt0xHHGSBPL9xPq MDxQ== 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=R151ArRVYuWzEDIm3iW+4X/prSEUuPNzSgc5fxaIXvI=; b=ITEHV24x//2tTpNMScC3ibiSsYk7kPro1NOWsFkLJTOnXgCl1ORp4d/rJaB9nhNq6+ 4pL+vwpeyi8qkJks6YDgGKKKBaIGsRc/y0smMrNOh5kd/0A7jDHyyb2yyIG+77NtOkJN aj9TthtHzjkZ/5sO4V2D/SRZeuDr+3ZDgQj4DfCUdyeKXCMSuQWgmI6gTbiy/DsOiujU /qfS/wysiFNYXtQFe4TFxgVA+qZe7E58h654qrNzLhW90URjgJDCzdbbNY7nVbY//Te2 TM3nODY7z52jpKj3328XLgVl6XY0anA72MqBbCGHehkt+qclke2uXGEo6oniNBARuORn P92Q== 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 x17si2676407qtj.298.2017.08.21.15.00.51; Mon, 21 Aug 2017 15:00:52 -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 B8016644A7; Mon, 21 Aug 2017 22:00:51 +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 8040C64492; Mon, 21 Aug 2017 22:00:21 +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 E24B76448C; Mon, 21 Aug 2017 22:00:15 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id B190B6448C for ; Mon, 21 Aug 2017 22:00:11 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 0AA6A12443F0 for ; Tue, 22 Aug 2017 01:00:10 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MT31xgMjpj-09UqXYcl; Tue, 22 Aug 2017 01:00:09 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id PCG8VRZRwk-095qCo0n; Tue, 22 Aug 2017 01:00:09 +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: Tue, 22 Aug 2017 01:00:07 +0300 Message-Id: <1503352807-2071-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503352807-2071-1-git-send-email-odpbot@yandex.ru> References: <1503352807-2071-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 133 Subject: [lng-odp] [PATCH v3 1/1] travis: add --enable-debug to list of test variants 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 ODP includes a number of ODP_ASSERT() calls to assist in debugging but these never expand unless --enable-debug is used. Add that test variant to test new ODP_ASSERT() calls added as part of PRs as well as to do additional testing on PRs to verify that they don't contain more subtle problems that the existing ODP_ASSERT() calls are designed to catch. The --enable-debug option is used for all test cases except distcheck. Signed-off-by: Bill Fischofer --- /** Email created from pull request 133 (Bill-Fischofer-Linaro:travis-debug) ** https://github.com/Linaro/odp/pull/133 ** Patch: https://github.com/Linaro/odp/pull/133.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 271f8a84f4ef962a3d00f1da1a6ca698d3edd593 **/ .travis.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index d750af1d..6bb08763 100644 --- a/.travis.yml +++ b/.travis.yml @@ -174,7 +174,7 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS + - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -183,7 +183,7 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp/odp-install $CROSS + - ./configure --prefix=$HOME/odp/odp-install $CROSS --enable-debug --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -192,7 +192,7 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS + - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -201,7 +201,7 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS + - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -210,7 +210,7 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS + - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -219,7 +219,7 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS + - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -228,6 +228,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" --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" + --enable-debug - 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