From patchwork Mon Aug 21 23: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: 110595 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1896155qge; Mon, 21 Aug 2017 16:03:36 -0700 (PDT) X-Received: by 10.55.43.40 with SMTP id r40mr24390339qkh.47.1503356616096; Mon, 21 Aug 2017 16:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503356616; cv=none; d=google.com; s=arc-20160816; b=AOEhY1pY8yhBLf57eyP/o51HZytRAjCLBlFYXxt23QcZGFoqnTeGqKnpt8Lm7nSk8g O5NoKsyBATFLACIY8bcIZqAsRdU8pKjSN2d1PG6i6ignwdANtz/Cc9n3b3HIuSDdCi5p RR3hR2X8tKdC+xZ1FhsjsmGftotT9VNB6DBdOxhP39eY6ygvSohnLaTuh2jy87DWyu71 I0XQaRpYXOtWeRKiuuzQzm+LH5YZBBkLfykc3swaT5kfE7avA+sP5UsRGh0DlLzZvjef 0xHfs+NTVhpvpMHoS290PEdnuiTDuG1QiArZLFwl1iuEjDKve+h21Pgn3tSYHZSb9Hct MjQw== 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=VyBrBUDttox/866wuxkrF7mKR6NQv+1LKKPC68TCPd0=; b=GIPsxjCJO0ITz2RjlU/PNICslWICl7FFnmIETLUJGYmR2sMuDOsqRSmVvi6xJWaKtb U3YlkhPW8dIz2OmXdf0cEOAhDIMccjm7yBYquJB2pdTQiHhxJ0DXooS6RNsTYBn5hz3i AiFJD+N83rTQQ9u1Rk1X/4ZSXQUV73pWedVDTbdRrNxN+1gsQOKdNDf7eZuNmjxJOEvP u8DNTxqLDmzAreAU9RKIlp2gNlGG+giwcxJK59ANTXlhQoVWP8oog2e0ZqBwR5Dd5ShR 4Llm63aJy6Rk4569Ch7ByD5n0cELVwr7H+E4hMikZAq1Fz7Rt7PYxiEaozY2pIBO6fdp NHJw== 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 e65si12002584qkc.528.2017.08.21.16.03.35; Mon, 21 Aug 2017 16:03:36 -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 9C83C60D95; Mon, 21 Aug 2017 23:03:35 +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 7400661CBE; Mon, 21 Aug 2017 23:03:02 +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 8C10560D95; Mon, 21 Aug 2017 23:02:53 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 891CA644C7 for ; Mon, 21 Aug 2017 23:00:12 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 3564D51031D8 for ; Tue, 22 Aug 2017 02:00:11 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id kiNGHCfVSv-0BmaAQOS; Tue, 22 Aug 2017 02:00:11 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id EhFUFqFylS-0ATSwxDh; Tue, 22 Aug 2017 02:00:10 +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 02:00:07 +0300 Message-Id: <1503356407-2658-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503356407-2658-1-git-send-email-odpbot@yandex.ru> References: <1503356407-2658-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 133 Subject: [lng-odp] [PATCH v5 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: 6a38659041ea9f53119b58fc62bd03f7b2ec4986 **/ .travis.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index d750af1d..f3a150c0 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