From patchwork Wed Aug 30 17:00:05 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: 111328 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1244701qge; Wed, 30 Aug 2017 10:06:46 -0700 (PDT) X-Google-Smtp-Source: ADKCNb66zXyaM6QOyfIradEwCiMR0mlKnHy2YdUSq+hUPWHkYRFNNN/+lgozxWjmBzp3Af/t/LKc X-Received: by 10.55.11.140 with SMTP id 134mr12160069qkl.127.1504112806334; Wed, 30 Aug 2017 10:06:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112806; cv=none; d=google.com; s=arc-20160816; b=LzDwYsWXy1j3XVSc+T/53FDCAOJB8fSnsEx0mdnxWUU6zFcDrr9vaKyBEizZZkZAE7 RYn+Pws1gJH6hA7LcXPxMilT023OPqibP790oq6ot88IBHeKrOpOcgdMDX6Unnwo+9FE Un/Ny8oCyWenZA0AFe54NUvWrlVL7Rde+B5xpE9cRq6xZx7q9oCnFRH3/DN4JRQMK5ct 9odsMDXEURgtXGCXBAt3Hpt4IhT9tJ/fFCf9qqBWz4HySfiHTNjGK7Q6Mnp0/MjjkwJK xTu8TEvXNpZKJlSZBIwzvzjl0qStUoFDM3aHWMaZ+3H4lktlqeWWhwac4S6WUhPA5/lx GbEQ== 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=yjv6/npJGwj84t7qoMoM5umZJBgAZQV7MjUEGMMjYbE=; b=XfsJ1Hw+RVgenzj9JSqhtP6GSGSzOGePUK5FocfYTNcRXWUCXVf2dalp3Xf3TQ7IuW ItQp2JbHsU+2uu7ndTlXRTW6RKHiLOjO4Sfo1hfoM2jqgV8LqQKZ+ReaSEqJ/RT7mQTN t29iGsrf2ViGbLhSuoefaHauI+JLO+c79zu6VwpZf4jUCsqgzh06EAspvKKhz8aah7Wo KJSazm+5gAxqcqOZpzmHPJsfjxKs4xm+oGjK0GuH2GLj0TlGbtCmewIxeUdXI5dJ9jV2 GJoPeBXfI3FOeote6sbKo7jzXvrFTsEAeGRtuzh2bSuYx0C+xEIuysQmVTckR2thS0Ft lYnQ== 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 133si5839751qki.31.2017.08.30.10.06.46; Wed, 30 Aug 2017 10:06:46 -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 E8B2E60C4F; Wed, 30 Aug 2017 17:06:45 +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 8A4FB60828; Wed, 30 Aug 2017 17:01:09 +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 907ED62D99; Wed, 30 Aug 2017 17:00:59 +0000 (UTC) Received: from forward3p.cmail.yandex.net (forward3p.cmail.yandex.net [77.88.31.18]) by lists.linaro.org (Postfix) with ESMTPS id 82D8462C5C for ; Wed, 30 Aug 2017 17:00:26 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::15:6]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id 7EB63210FC for ; Wed, 30 Aug 2017 20:00:25 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 56B9C3240E1D for ; Wed, 30 Aug 2017 20:00:24 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0OL058Ym; Wed, 30 Aug 2017 20:00:24 +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 20:00:05 +0300 Message-Id: <1504112406-3108-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 8/9] 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: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ .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