From patchwork Tue Aug 22 13: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: 110658 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2647999qge; Tue, 22 Aug 2017 06:03:17 -0700 (PDT) X-Received: by 10.200.35.124 with SMTP id b57mr800690qtb.253.1503406997763; Tue, 22 Aug 2017 06:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503406997; cv=none; d=google.com; s=arc-20160816; b=wydj6OGvPWJ6YRU4QNbbQj18kDUMswrTy2DvC1OMLhJWJTHod8BILvzKjGZ1OE35oH MXo6XCcDVcOj1J99V0bMN0SDBs1tKsu/p93BL1RT71asYsb59Edy2KUH+W2RHLbP5C5s GuN+THRGR04Y7+1Sfwl6sCB2+fF37KW1qK1RrsgaJu4IEHVbPa+B+mfepqkAKsJkt8cg XBhChnCN/B0d8L14MYf+tYL9UbRaKK0WoNgAGCcwveXz1FSOPoeH0mdiJcZgVPlkb594 AxPgbBvDarakBHMn1Zmuoz+Zemwb33U5fmLgjUEKwP1BtkExp5ewnMcqohICdF8/8k5T nHmw== 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=IQfhjz8v9p2LLbo6YIntW3DWSyCSKMEuStdtxu6RmEA=; b=nqM58vKjuih5ebp+Ih1U5y5PKMt6Q/I5mMB+npzAFW7IhT+SPH1xuV1nxF2kn0BQJg AngGtEVHiK4zG/URf2QYyFhmmXod/H6tG20RkxAzEghn2WQwvic48Uibbwi+Cbhlt0GH JLYWEehVjXdi+8EoLdXiAZLMlNKl/9otNV5cjBKKVp6qKm+jGhcPXPCZZetBSOzq3GL1 jTJtqnB6meMksH9YIIMUrYGjkW6lXfUe+0XOadbjRkGE4Z7o3wiIqDdBtSqiq1LQFN7Y Cv8Tc9q/xd2UT3eMaAhGQaqTo/+yBOaEGrVYh13R0vc8lq9CyPzveaXQG3G/+WyEuy78 99/Q== 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 x4si13347402qke.376.2017.08.22.06.03.16; Tue, 22 Aug 2017 06:03:17 -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 57B8360BD9; Tue, 22 Aug 2017 13:03:16 +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 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 1A99B64481; Tue, 22 Aug 2017 13:00:42 +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 3C38960F1D; Tue, 22 Aug 2017 13:00:32 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 7A5BC62D0A for ; Tue, 22 Aug 2017 13:00:23 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 3BAA55D82C9A for ; Tue, 22 Aug 2017 16:00:22 +0300 (MSK) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [2a02:6b8:0:801::ac]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id stMash524P-0MO8mTTV; Tue, 22 Aug 2017 16:00:22 +0300 Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rIbCSlvu9L-0LEepoAb; Tue, 22 Aug 2017 16:00:21 +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 16:00:16 +0300 Message-Id: <1503406816-30690-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503406816-30690-1-git-send-email-odpbot@yandex.ru> References: <1503406816-30690-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 133 Subject: [lng-odp] [PATCH v7 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: 58427e39fde0a4a4eb3ac82f4b8905a824ac4cdf **/ .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index d750af1d..7a74bdb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -151,6 +151,7 @@ install: 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 --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF + --enable-debug - 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 @@ -174,7 +175,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 +184,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 +193,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 +202,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 +211,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 +220,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 +229,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