From patchwork Wed Aug 30 13:00:14 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: 111311 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp893765qge; Wed, 30 Aug 2017 06:05:58 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6hoaMpG8T2xlE/UxRm3JpyP+oOUsRPHdZSFgHLICaECBKR5JIKI1ifSZfT3aLRFE2YiHEB X-Received: by 10.200.46.141 with SMTP id h13mr1918305qta.141.1504098358428; Wed, 30 Aug 2017 06:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504098358; cv=none; d=google.com; s=arc-20160816; b=AHktYIz6pdJ67urfSvPRAsxCuaI7MxLFNI1cYYPGkE8irW09ujJt0zuBUjcHoGj1i0 kqv0aHc5pniCO4rtNBk1sqBCg+Qan5c/ysrp8bhMnsRTotT1H0kNVb4eeCBr7r1T7q2I OtY4C24Lr5+1OnqV7og5xFGGy/w3TMrGiQwCQWCNnIe5crrKdW6FpXdQjoZoVZI+l+sn peluwrqdpEIVQsNK9oy+rbPK1OXks5CGIvAP0Wv4Ux49lHXjQquYJCW72x5a24Z6mp25 sA4yxTod/8OFMHaSYFPa+F5+RI7pKrm9fBYD6DqJgAVnjkd0judk9ii9yYsPvmVtcbMR Vs2g== 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=g6L1x2O9rxUxbQ+hQiiiVao7TQsQnGOS/Q6hMFj4IMc=; b=hGYWF3iC3HgrmRB7GGFC8qUR9eCEPcK8zZFkUw0m/8Ty8fSlaL0Y3QaZ2ZCRl4boe5 LcWCQGp1Jopqr7z7Wq1ORq+qjO3ywlUACLG0vvdx97BEK7IDqQLg013Hd6jVo0r8ak1+ ZUucXW6P6o5bouBS3GW2II6KMHMzi4AU/jwYP3t8SQ/+z9VoivlKoOSRtKeQVgxRHgGp Zv+TWEnVX52Mab610Mn1mXD2ocNX2ams//ozCvE1dY45ROZMWOLJOEYORBAW3Uc9G6ea /W7MAVhk59mr4sFZBvIoQaFk7amOkIw3Is3n7TcNOBozMYC83SCuaJUqnYVKW8PnpAae ofew== 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 w129si5406995qkd.37.2017.08.30.06.05.58; Wed, 30 Aug 2017 06:05:58 -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 1892C61E64; Wed, 30 Aug 2017 13:05:58 +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 32AEB62CE0; Wed, 30 Aug 2017 13:01:43 +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 D291C62B5D; Wed, 30 Aug 2017 13:01:31 +0000 (UTC) Received: from forward1p.cmail.yandex.net (forward1p.cmail.yandex.net [77.88.31.16]) by lists.linaro.org (Postfix) with ESMTPS id 58A9D61F9B for ; Wed, 30 Aug 2017 13:00:39 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward1p.cmail.yandex.net (Yandex) with ESMTP id 5268C20FF6 for ; Wed, 30 Aug 2017 16:00:38 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 293326C00D5B for ; Wed, 30 Aug 2017 16:00:37 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pn21Hwqvkv-0av0egrV; Wed, 30 Aug 2017 16:00:36 +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 16:00:14 +0300 Message-Id: <1504098014-29411-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504098014-29411-1-git-send-email-odpbot@yandex.ru> References: <1504098014-29411-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v3 8/8] travis: add --enable-helper-linux 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 The ODP helper modules can explicitly expose linux variants via the --enable-helper-linux configuration option, so add that into the test options as well to ensure full coverage. [DES: just enable this option instead of adding another entry into build matrix.] Signed-off-by: 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: 1488a0e31aecd1fa958bf32f1c0ca0b0e0f56409 **/ .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 05cddbc3..45ffa396 100644 --- a/.travis.yml +++ b/.travis.yml @@ -156,6 +156,7 @@ script: --with-netmap-path=`pwd`/netmap --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF --enable-debug=full + --enable-helper-linux - 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 @@ -182,6 +183,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -193,6 +195,7 @@ jobs: - ./configure --prefix=$HOME/odp/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -204,6 +207,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -215,6 +219,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -226,6 +231,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -237,6 +243,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -252,6 +259,7 @@ jobs: --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" --enable-debug=full + --enable-helper-linux - 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