From patchwork Wed Aug 30 13: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: 111306 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp885931qge; Wed, 30 Aug 2017 06:01:39 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6MPhReN7kzRK7fshyys+JhwZYWV6tpUwJeCOiXL8ZUuNOWvB05WgAr9Rf8Tgty524pvrgK X-Received: by 10.200.24.25 with SMTP id q25mr1963360qtj.260.1504098099273; Wed, 30 Aug 2017 06:01:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504098099; cv=none; d=google.com; s=arc-20160816; b=A3IphGEMsrUMWBL7d9fHcJMKWzuel8s2bVMRZvLOkZhYe+Ye1dznfBNY/WKRnUdmlz nCLg2F3Qpj9rHDaU5UEWAwOXdyh8E2S58H2P/QvPmbFNr/y/LEcp+TBBKNWlY3AMsnxT 8NR+u8Skx9+k2dguAp1k2iujQygf7fyzRC7WgixoVpB21Pf++YJ5gSeNzAhAVXA9SUvk bExqR2W0O4fqx3/DIkvLuIPvzYIKO3CTCqo5mpbaypaiqK+/HU7+wo5oCO/IsjbU+2RD hhWWEOTrr1O3H6zbvBXqCncFmNxVgo3oCd14lWfjUBlHPzoDPloL0vmEAV+zp080qYBx BjKA== 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=gTpnjl5jvMxUMn68dBUxT39ByCuZdqmLDd/owfEuL5Q=; b=tIvQFwFkFykyq6CvfAVl7MA3Ki5Z2KqNJzQ+PHT9HuViev07OHnh+2bO24guYCqwUh kNG/eY19YhqW9o2ej3Njyhra8gA5D3JUo4c558RiMsKgGincUqGdnJHp/jzEGf1WYI4z i0Yz1kzR8ethl9Za0YOsQ1VHDuWBQJ0NhzOIa14xkMjT10bnTrIIb3tEbJrxXuV9d2et 1bccmbenqaZOVjNTdA6jnp9is17R5CtZDKqMc+iaxAt6ABe9I0Ca4F1Pam+d2U44i28c snuOCXArHZrlb8tLAsH3Ma0LBM3Jn/iqYFTXrbOWcuNcN0q+JEQOf+6b+pqd5peNRIC7 PYdQ== 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 u91si5136901qtd.176.2017.08.30.06.01.39; Wed, 30 Aug 2017 06:01:39 -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 E567962C6C; Wed, 30 Aug 2017 13:01:38 +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 9E42B61DE2; Wed, 30 Aug 2017 13:00:48 +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 6CE3661E03; Wed, 30 Aug 2017 13:00:34 +0000 (UTC) Received: from forward5o.cmail.yandex.net (forward5o.cmail.yandex.net [37.9.109.249]) by lists.linaro.org (Postfix) with ESMTPS id 86F7E618C8 for ; Wed, 30 Aug 2017 13:00:28 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::28]) by forward5o.cmail.yandex.net (Yandex) with ESMTP id DA170215B1 for ; Wed, 30 Aug 2017 16:00:26 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 565756C0075B for ; Wed, 30 Aug 2017 16:00:25 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pn21Hwqvkv-0Ovih0Fn; Wed, 30 Aug 2017 16: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 16:00:07 +0300 Message-Id: <1504098014-29411-2-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 1/8] configure: enable all tests by default 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: Dmitry Eremin-Solenikov 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 **/ Makefile.am | 8 +------- configure.ac | 6 ------ example/m4/configure.m4 | 11 ++++------- helper/m4/configure.m4 | 9 ++++----- test/common_plat/m4/miscellaneous.m4 | 9 ++++----- test/common_plat/m4/performance.m4 | 9 ++++----- test/common_plat/m4/validation.m4 | 25 +++++++------------------ test/linux-generic/m4/performance.m4 | 9 ++++----- 8 files changed, 28 insertions(+), 58 deletions(-) diff --git a/Makefile.am b/Makefile.am index e1ea07d5..7398499c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,5 @@ ACLOCAL_AMFLAGS=-I m4 -AM_DISTCHECK_CONFIGURE_FLAGS = --enable-test-cpp \ - --enable-test-example \ - --enable-test-helper \ - --enable-test-perf \ - --enable-test-perf-proc \ - --enable-test-vald \ - --enable-user-guides \ +AM_DISTCHECK_CONFIGURE_FLAGS = --enable-user-guides \ --with-testdir #@with_platform@ works alone in subdir but not as part of a path??? diff --git a/configure.ac b/configure.ac index c1811003..c076b4cc 100644 --- a/configure.ac +++ b/configure.ac @@ -214,12 +214,6 @@ AC_SUBST([testdir]) AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"]) AM_CONDITIONAL([test_installdir], [test "$testdir" != ""]) AM_CONDITIONAL([cunit_support], [test x$cunit_support = xyes ]) -AM_CONDITIONAL([test_vald], [test x$test_vald = xyes ]) -AM_CONDITIONAL([test_perf], [test x$test_perf = xyes ]) -AM_CONDITIONAL([test_perf_proc], [test x$test_perf_proc = xyes ]) -AM_CONDITIONAL([test_cpp], [test x$test_cpp = xyes ]) -AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ]) -AM_CONDITIONAL([test_example], [test x$test_example = xyes ]) AM_CONDITIONAL([HAVE_DOXYGEN], [test "x${DOXYGEN}" = "xdoxygen"]) AM_CONDITIONAL([user_guide], [test "x${user_guides}" = "xyes" ]) AM_CONDITIONAL([HAVE_MSCGEN], [test "x${MSCGEN}" = "xmscgen"]) diff --git a/example/m4/configure.m4 b/example/m4/configure.m4 index 18218d05..cab7f8b8 100644 --- a/example/m4/configure.m4 +++ b/example/m4/configure.m4 @@ -1,14 +1,11 @@ ########################################################################## # Enable/disable test-example ########################################################################## -test_example=no AC_ARG_ENABLE([test-example], - [ --enable-test-example run basic test against examples], - [if test "x$enableval" = "xyes"; then - test_example=yes - else - test_example=no - fi]) + [AS_HELP_STRING([--enable-test-example], [run basic test against examples])], + [test_example=$enableval], + [test_example=yes]) +AM_CONDITIONAL([test_example], [test x$test_example = xyes ]) AC_CONFIG_FILES([example/classifier/Makefile example/generator/Makefile diff --git a/helper/m4/configure.m4 b/helper/m4/configure.m4 index 343f5e3c..2e2943d1 100644 --- a/helper/m4/configure.m4 +++ b/helper/m4/configure.m4 @@ -1,12 +1,11 @@ ########################################################################## # Enable/disable test-helper ########################################################################## -test_helper=no AC_ARG_ENABLE([test-helper], - [ --enable-test-helper run test in helper/test], - [if test "x$enableval" = "xyes"; then - test_helper=yes - fi]) + [AS_HELP_STRING([--enable-test-helper], [run test in helper/test])], + [test_helper=$enableval], + [test_helper=yes]) +AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ]) ########################################################################## # Enable/disable helper-ext diff --git a/test/common_plat/m4/miscellaneous.m4 b/test/common_plat/m4/miscellaneous.m4 index cc881edb..dac236a6 100644 --- a/test/common_plat/m4/miscellaneous.m4 +++ b/test/common_plat/m4/miscellaneous.m4 @@ -1,9 +1,8 @@ ########################################################################## # Enable/disable test-cpp ########################################################################## -test_cpp=no AC_ARG_ENABLE([test-cpp], - [ --enable-test-cpp run basic test aginast cpp], - [if test "x$enableval" = "xyes"; then - test_cpp=yes - fi]) + [AS_HELP_STRING([--disable-test-cpp], [run basic test aginast cpp])], + [test_cpp=$enableval], + [test_cpp=yes]) +AM_CONDITIONAL([test_cpp], [test x$test_cpp = xyes ]) diff --git a/test/common_plat/m4/performance.m4 b/test/common_plat/m4/performance.m4 index 1e2000d9..34270e8d 100644 --- a/test/common_plat/m4/performance.m4 +++ b/test/common_plat/m4/performance.m4 @@ -1,9 +1,8 @@ ########################################################################## # Enable/disable test-perf ########################################################################## -test_perf=no AC_ARG_ENABLE([test-perf], - [ --enable-test-perf run test in test/performance], - [if test "x$enableval" = "xyes"; then - test_perf=yes - fi]) + [AS_HELP_STRING([--enable-test-perf], [run test in test/performance])], + [test_perf=$enableval], + [test_perf=yes]) +AM_CONDITIONAL([test_perf], [test x$test_perf = xyes ]) diff --git a/test/common_plat/m4/validation.m4 b/test/common_plat/m4/validation.m4 index 67edac7a..b2a2f75d 100644 --- a/test/common_plat/m4/validation.m4 +++ b/test/common_plat/m4/validation.m4 @@ -1,30 +1,19 @@ ########################################################################## # Enable/disable Unit tests ########################################################################## -cunit_support=no -test_vald=no AC_ARG_ENABLE([test_vald], - [ --enable-test-vald run test in test/validation], - [if test x$enableval = xyes; then - test_vald=yes - cunit_support=yes - fi]) - -########################################################################## -# Enable/disable Unit tests -########################################################################## -AC_ARG_ENABLE([cunit_support], - [ --enable-cunit-support include cunit infrastructure], - [if test x$enableval = xyes; then - cunit_support=yes - fi]) + [AS_HELP_STRING([--enable-test-vald], [run test in test/validation])], + [test_vald=$enableval], + [test_vald=yes]) +AM_CONDITIONAL([test_vald], [test x$test_vald = xyes ]) ########################################################################## # Set optional CUnit path ########################################################################## +cunit_support=$test_vald AC_ARG_WITH([cunit-path], -AC_HELP_STRING([--with-cunit-path=DIR path to CUnit libs and headers], - [(or in the default path if not specified).]), +AC_HELP_STRING([--with-cunit-path=DIR], + [path to CUnit libs and headers (if not present at default path)]), [CUNIT_PATH=$withval CUNIT_CPPFLAGS="-I$CUNIT_PATH/include" CUNIT_LIBS="-L$CUNIT_PATH/lib" diff --git a/test/linux-generic/m4/performance.m4 b/test/linux-generic/m4/performance.m4 index 7f54b96d..05b3a990 100644 --- a/test/linux-generic/m4/performance.m4 +++ b/test/linux-generic/m4/performance.m4 @@ -1,9 +1,8 @@ ########################################################################## # Enable/disable test-perf-proc ########################################################################## -test_perf_proc=no AC_ARG_ENABLE([test-perf-proc], - [ --enable-test-perf-proc run test in test/performance in process mode], - [if test "x$enableval" = "xyes"; then - test_perf_proc=yes - fi]) + [AS_HELP_STRING([--enable-test-perf-proc], [run test in test/performance in process mode])], + [test_perf_proc=$enableval], + [test_perf_proc=yes]) +AM_CONDITIONAL([test_perf_proc], [test x$test_perf_proc = xyes ]) From patchwork Wed Aug 30 13:00:08 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: 111308 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp888854qge; Wed, 30 Aug 2017 06:03:18 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5Q9lCsnBHIiPJaHwDku5W10EJz71d9kIKODpiiOSiXOpTwZt2KOZDkJCykmaPiJNOu+Xgr X-Received: by 10.237.49.35 with SMTP id 32mr2013190qtg.197.1504098198385; Wed, 30 Aug 2017 06:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504098198; cv=none; d=google.com; s=arc-20160816; b=jvzUF5Cia8MJGnkONj9S1P31doj2wTwykb76IGwXqMF2/zb/Yvc0h7dFYYdq5JWtC3 M9mjwybj6O4I/wz9mJdddjj7PjSdtRvtu26D5oo7Chrm8esr1caJj2rmdogV2TpQwR2u cx9MxkE6kB42EijnK03OfttcOqof/YyN0LzRq8C+Vzt7xRI41EwfL45/R/MK39CvOylX bxq6/15JVS0IXRE/4Ap+yjkX/VobW753clVewkjGt9G/vutAPT0FC22szWqyVLDL6m1I hYSC3ZNCjeruOLDuqGspmtjYcKJi4zVc57M5fRCxx7ZOB2AfEsa3z1HTdNJI1vbMRZDs Ncxw== 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=o97ZZrVpnmSAVuJL7vb35LeTeU3T89XScgOwaUZ4z6I=; b=J4QSKleh+uvWfaZodmFGhtEnBxCVYc1fCUQFrkeleSApsaytz/MZZFxrGrcQqG3iPa 6InusI2qIDpZZHaTa1+WTkzqEFY7Rc/pNHcTRZ/KT0N0vz7ckKHz3imrAexbV1bukW+R 3xKJmub3FygUoBTJrmXpjtShBCQKXIX4q+rFYHE34xpULFlkUpPKM20dWhL5hcyK1eW6 RKeoozAPEgT38AzRoSM2lxgj0HpdpNfbQtM1YTt547dN5maLEVvlzpSxWgBsGMiwFLnf 8DdgsfAc0G9qjA+fXZ7NDxQcGWQaVWIm4nVbo0leiyYZC6+KZEbnOhG4WAr8vkXTcvPo TP+w== 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 59si5095881qtg.11.2017.08.30.06.03.18; Wed, 30 Aug 2017 06:03:18 -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 0EDC561E19; Wed, 30 Aug 2017 13:03:18 +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 109F360676; Wed, 30 Aug 2017 13:01:04 +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 E7D3162AE3; Wed, 30 Aug 2017 13:00:40 +0000 (UTC) Received: from forward1p.cmail.yandex.net (forward1p.cmail.yandex.net [77.88.31.16]) by lists.linaro.org (Postfix) with ESMTPS id A58B360455 for ; Wed, 30 Aug 2017 13:00:30 +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 0BC8F21045 for ; Wed, 30 Aug 2017 16:00:28 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id AEB3B6C00D5B for ; Wed, 30 Aug 2017 16:00:26 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pn21Hwqvkv-0QvCbjY9; Wed, 30 Aug 2017 16:00:26 +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:08 +0300 Message-Id: <1504098014-29411-3-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 2/8] configure: rework with-testdir check 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: Dmitry Eremin-Solenikov Rework with-testdir option handling to follow the rest of configure options. 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 **/ configure.ac | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index c076b4cc..dcf14629 100644 --- a/configure.ac +++ b/configure.ac @@ -200,19 +200,18 @@ AC_SUBST(SDK_INSTALL_PATH) # Set the install directory for test binaries/scripts ########################################################################## AC_ARG_WITH([testdir], - AC_HELP_STRING([--with-testdir=DIR installation directory for tests]), - [if test "$withval" = "yes"; then - testdir=$libdir/odp/tests - else - testdir=$withval - fi], []) + [AC_HELP_STRING([--with-testdir=DIR], [installation directory for tests])], + [testdir=$withval], + [testdir=no]) +AS_IF([test "x$testdir" = "xyes"], [testdir=$libdir/odp/tests], + [test "x$testdir" = "xno"], [testdir=]) AC_SUBST([testdir]) +AM_CONDITIONAL([test_installdir], [test "x$testdir" != "xno"]) ########################################################################## # Set conditionals as computed within platform specific files ########################################################################## AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"]) -AM_CONDITIONAL([test_installdir], [test "$testdir" != ""]) AM_CONDITIONAL([cunit_support], [test x$cunit_support = xyes ]) AM_CONDITIONAL([HAVE_DOXYGEN], [test "x${DOXYGEN}" = "xdoxygen"]) AM_CONDITIONAL([user_guide], [test "x${user_guides}" = "xyes" ]) From patchwork Wed Aug 30 13:00:09 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: 111307 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp887901qge; Wed, 30 Aug 2017 06:02:47 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4BRueCCx37M2xWohMF3eV7pF87m6qJt5/1vIaD1L1CNvnXp0BNA8B5cuXDdfK7K/riBota X-Received: by 10.200.63.45 with SMTP id c42mr1752912qtk.240.1504098167545; Wed, 30 Aug 2017 06:02:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504098167; cv=none; d=google.com; s=arc-20160816; b=Zit3qzA4gnY/RCZjF3/jAUCYNOAMZcagKN9qbbye94+UkTSPhaCptVL9AfOKVb1hQd +hTcJKq76ov9WW7ksY2YMmIDtANnRfduzEeKSX+Ucksx8WtTHTwUseiDSAJ5Uol6txlq bUZHSeRNduII+xsa496rvh+Ic5qcDr4HCS2Ra7K440kBCvvu9L3L0LcNo/GCl46mD8xY C/oOJEiaf65pvzMrWnzYn7AYopKf3XQfOt0MA/IM9V0XyBLKItupABtNml2fRoZZlYp3 mZ2xI9Q97r64O+9e4GqajKDG7yTjmtxGjurPhZrNY9SkDRNb2sCrXzwKkgOzBcwBH+8b 21aw== 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=UVnuAsDMBT8VMzQRGrErM2dh3KIizBQvK80Oir2vflc=; b=ub0hPwPWN0kb4zlfCLjDTqje7NeHFmArR3OjRF3spEc1jhVBrRPhnWB8S/EpH6Emad fAGaHje4vBN6dyjM53n37M4473UXRFkdkNnsUYWbYTtIgnLvC58GaqHdBDOUb97bRg8z +3qo9umtWAKXnqlIoH+5msC7+tSGxpht8uBp56X78U95N4SiRl357xPq5PwFk/T7TQpx psgowCXwD+co9c2gGdItWP1T5kBW1lQYJGXd/Pbj4conVDE11QdmXYexeyuMGQF0/js0 Z4oJyRN5XByDzagA93dFGNNmsC1ivcf96pSt2JFonWtNM1Jm3Ccde5rnV645ycz/XRj9 Ld9Q== 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 o7si5353674qkb.396.2017.08.30.06.02.47; Wed, 30 Aug 2017 06:02:47 -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 378F562DB3; Wed, 30 Aug 2017 13:02:47 +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 DB01662AE7; Wed, 30 Aug 2017 13:00:56 +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 4E4FD61DD5; Wed, 30 Aug 2017 13:00:36 +0000 (UTC) Received: from forward4o.cmail.yandex.net (forward4o.cmail.yandex.net [37.9.109.248]) by lists.linaro.org (Postfix) with ESMTPS id 95DA261DD5 for ; Wed, 30 Aug 2017 13:00:31 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::28]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id DEF4421502 for ; Wed, 30 Aug 2017 16:00:29 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 857056C00F54 for ; Wed, 30 Aug 2017 16:00:28 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pn21Hwqvkv-0RvCK1sM; Wed, 30 Aug 2017 16:00:28 +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:09 +0300 Message-Id: <1504098014-29411-4-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 3/8] configure: enable helper-linux in distcheck options 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: Dmitry Eremin-Solenikov 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 **/ Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 7398499c..6c43679e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ ACLOCAL_AMFLAGS=-I m4 AM_DISTCHECK_CONFIGURE_FLAGS = --enable-user-guides \ + --enable-helper-linux \ --with-testdir #@with_platform@ works alone in subdir but not as part of a path??? From patchwork Wed Aug 30 13:00:10 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: 111309 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp890477qge; Wed, 30 Aug 2017 06:04:09 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4qVz95KPIJKw+rDy5luL95mzGN7oVBawAPqk7L6p4JgNt9WWjFfSU9zCR5A++JoNM/R4XA X-Received: by 10.55.21.166 with SMTP id 38mr4439999qkv.290.1504098249756; Wed, 30 Aug 2017 06:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504098249; cv=none; d=google.com; s=arc-20160816; b=aHmECjhY2sCmHUjzU2T1mqvdhl7I6AqN17xIvao2L/gJb0NW5YiIsEfs5XTwnEuU27 k3mv2ZQ2z4YOtpFWIxUj/DEBlVkDXgm4C4o4H/IRvME0j8UcN3Xs2/km8cVpPPcalecb BN1ZqLairq3aAIXRMpZvI+4pIINIG1RyPAx+t0WzrP/i1BI+QUJAratiHjbYM+aFzzD1 /ITLd1e7WFPhkvv4rNx91eujnj1SFDEG9L6R1/efaPRmrcjSMx4U4pcTt1TWyrJOFrC1 o0biJ9OhsbH6JJ88j3FZM1eTvn75bDZrgYdU59K2XccV5BJ8k0ecA+lHERazyxKEB0G0 rH2w== 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=vrhqwOiHkKZEu/4xcXJQcYsADx2RBJ2p1nuWfrZKP4Q=; b=SBXPI0pU4gfIInaletDYRXOq8vR62DvjIrvjAZmi1eKZZ7xFz+cm9uoYuOJGULNn3d eBzTVMekYB3JMQHPcfrDeRlg3aqmPm8vrCI0BMBUCrUVyL8hCgOedxD9uWb5RgWHiXYj +dOiTgtFr9QeeMC/FN2TEHG52euQKw7UKfe8koPrEATwCsw7DAgKhUXtlHesbPSpN373 4FDdSaWlVXpuMKO5Qa4y4WJfBj7UkGyksbpicqYkgDRrMyWbHeKKue1clt8SpkIpIAO5 AyXX1A99VZpdfVQNEstbRhP1YZ8fITrJNaobp5K3YHkNyvQh4Qz1N1PlWQ4LOmj5Qx0T 7jgA== 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 98si5161405qtb.448.2017.08.30.06.04.09; Wed, 30 Aug 2017 06:04:09 -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 1962561DE2; Wed, 30 Aug 2017 13:04:09 +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 6CF2662AE3; Wed, 30 Aug 2017 13:01:18 +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 53C9B618C8; Wed, 30 Aug 2017 13:00:41 +0000 (UTC) Received: from forward1j.cmail.yandex.net (forward1j.cmail.yandex.net [5.255.227.19]) by lists.linaro.org (Postfix) with ESMTPS id 07FD161DE2 for ; Wed, 30 Aug 2017 13:00:34 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward1j.cmail.yandex.net (Yandex) with ESMTP id 617D32179C for ; Wed, 30 Aug 2017 16:00:32 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id E3A906C00CCF for ; Wed, 30 Aug 2017 16:00:31 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pn21Hwqvkv-0Uv0mONf; Wed, 30 Aug 2017 16:00:30 +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:10 +0300 Message-Id: <1504098014-29411-5-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 4/8] configure: provide a way to enable all debugging options at once 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: Dmitry Eremin-Solenikov Adding --enable-debug=full to configure will enable all debugging options. 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 **/ configure.ac | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/configure.ac b/configure.ac index dcf14629..df0a0f61 100644 --- a/configure.ac +++ b/configure.ac @@ -239,39 +239,40 @@ DX_INIT_DOXYGEN($PACKAGE_NAME, ${builddir}/doc/driver-api-guide/output) ########################################################################## +# Enable/disable ODP_DEBUG +########################################################################## +AC_ARG_ENABLE([debug], + [AS_HELP_STRING([--enable-debug], + [include additional debugging code ] + [(set to 'full' to enable all --enable-*-debug-* options)])]) + +AS_IF([test "x$enable_debug" != "xno"], [ODP_DEBUG=1], + [ODP_DEBUG=0]) +AC_DEFINE_UNQUOTED([ODP_DEBUG], [$ODP_DEBUG], + [Define to 1 to include additional debug code]) + +########################################################################## # Enable/disable ODP_DEBUG_PRINT ########################################################################## -ODP_DEBUG_PRINT=0 AC_ARG_ENABLE([debug-print], - [ --enable-debug-print display debugging information], - [if test "x$enableval" = "xyes"; then - ODP_DEBUG_PRINT=1 - fi]) + [AS_HELP_STRING([--enable-debug-print], [display debugging information])], + [], [AS_IF([test "x$enable_debug" = "xfull"], [enable_debug_print=yes], + [enable_debug_print=no])]) +AS_IF([test "x$enable_debug_print" != "xno"], [ODP_DEBUG_PRINT=1], + [ODP_DEBUG_PRINT=0]) AC_DEFINE_UNQUOTED([ODP_DEBUG_PRINT], [$ODP_DEBUG_PRINT], [Define to 1 to display debug information]) -ODPH_DEBUG_PRINT=0 AC_ARG_ENABLE([helper-debug-print], - [ --enable-helper-debug-print display helper debugging information], - [if test "x$enableval" = "xyes"; then - ODPH_DEBUG_PRINT=1 - fi]) + [AS_HELP_STRING([--enable-helper-debug-print], [display helper debugging information])], + [], [AS_IF([test "x$enable_debug" = "xfull"], [enable_helper_debug_print=yes], + [enable_helper_debug_print=no])]) +AS_IF([test "x$enable_helper_debug_print" != "xno"], [ODPH_DEBUG_PRINT=1], + [ODPH_DEBUG_PRINT=0]) AC_DEFINE_UNQUOTED([ODPH_DEBUG_PRINT], [$ODPH_DEBUG_PRINT], [Define to 1 to display helper debug information]) ########################################################################## -# Enable/disable ODP_DEBUG -########################################################################## -ODP_DEBUG=0 -AC_ARG_ENABLE([debug], - [ --enable-debug include additional code], - [if test "x$enableval" = "xyes"; then - ODP_DEBUG=1 - fi]) -AC_DEFINE_UNQUOTED([ODP_DEBUG], [$ODP_DEBUG], - [Define to 1 to include additional debug code]) - -########################################################################## # Enable/disable ABI compatible build ########################################################################## ODP_ABI_COMPAT=1 From patchwork Wed Aug 30 13:00:11 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: 111313 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp896211qge; Wed, 30 Aug 2017 06:07:21 -0700 (PDT) X-Google-Smtp-Source: ADKCNb53i+2BXdhLWEHTjyj8/uAXv84IOFiLUtQW6NNQhi13gfhsZjhg+X6MfEL4pzZdq1sRLCyJ X-Received: by 10.200.23.146 with SMTP id o18mr1850512qtj.117.1504098441189; Wed, 30 Aug 2017 06:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504098441; cv=none; d=google.com; s=arc-20160816; b=eA0EIbGJlsE+Axf9RYcqZw3rtX2NDLhR3WiWqHua6YpNLzAc7+i5/NCo544wESXoPP R/uz9yugB8/sSJu/1QnBag8+Ot+yHIWxzy542GJBU30hbIJfjjnqFuvynNqZxlSm3bgL JL+wnrf2fSrQ6n+AwbyN3AtRb19eebvoEA1sikUxwDnmo7LOQVqgFaAnl5GFyMWawIrH ZYmJXDuq8wB0L4z7hcm5wycXnqrtAbDXMRMtJehxz6N7X9oA+ZLQylxjtTcUeW9fA+1d KEWkdMsWi9Es1OlTz+iJIOp5V+/TR170pJwhSOXR3HtvydhZJQGwuJDPNznMyrzyrdpn ZrZA== 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=Hh7hbrz/aSuSsJGANIwTCWCLBERG5DBo8cal7bBcX9o=; b=gSy4YRTJgmNW3DnEjsNOTxkZZWsO4pHGQge8vardoD5Dw1Re/v/svzQrTRKL546gqX k/HmuhN7WWaSsw6e89OVjPx7wsUivSPMrR27ckIwgo1/MtkWPJSvA3JgTsQ1AwoAIGcy 2dIhwKgb4Nl8GsgqMdOU6qflVwj5gdNEs7pH0Mtn++OXG7ZnjhNWDp4SDkwZDTgwdblo uxC3wbg6i3QLFr+3ViujnsyZD9cNPf01uy0bd6HzhGg57nUu/dLMyRxsURxSKhOUSxPP VTWHqU5JJ5HXgLR9oAtOfviQ6doGt47w8IVoq5PFeP62zMZOvnuqeMSV3Hu2wKukA8GW bdoQ== 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 l1si5159503qtc.505.2017.08.30.06.07.20; Wed, 30 Aug 2017 06:07:21 -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 BE24962C5C; Wed, 30 Aug 2017 13:07:20 +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 DC3C562D06; Wed, 30 Aug 2017 13:01:48 +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 313F962C6C; Wed, 30 Aug 2017 13:01:40 +0000 (UTC) Received: from forward3p.cmail.yandex.net (forward3p.cmail.yandex.net [77.88.31.18]) by lists.linaro.org (Postfix) with ESMTPS id 8A09F61E1A for ; Wed, 30 Aug 2017 13:00:37 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::28]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id 59A03210F9 for ; Wed, 30 Aug 2017 16:00:35 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 3BF0C6C00F40 for ; Wed, 30 Aug 2017 16:00:32 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pn21Hwqvkv-0Wvai32Y; Wed, 30 Aug 2017 16:00:32 +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:11 +0300 Message-Id: <1504098014-29411-6-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 5/8] travis: split configure commands into individual options 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 Avoid long configure command lines by splitting it into individual lines for each option. This permits easy future option maintenance without running into checkpatch line length checks. Signed-off-by: Bill Fischofer --- /** 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 | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 87 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 245ade2a..478d4200 100644 --- a/.travis.yml +++ b/.travis.yml @@ -150,7 +150,17 @@ 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 + - ./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 @@ -175,8 +185,15 @@ jobs: install: true script: - ./bootstrap - - ./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 + - ./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 compiler: "\"clang-3.8 --target=aarch64-linux-gnu\"" @@ -184,8 +201,15 @@ jobs: install: true script: - ./bootstrap - - ./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 + - ./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 compiler: arm-linux-gnueabihf-gcc @@ -193,8 +217,15 @@ jobs: install: true script: - ./bootstrap - - ./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 + - ./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 compiler: "\"clang-3.8 --target=arm-linux-gnueabihf\"" @@ -202,8 +233,15 @@ jobs: install: true script: - ./bootstrap - - ./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 + - ./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 compiler: powerpc-linux-gnu-gcc @@ -211,8 +249,15 @@ jobs: install: true script: - ./bootstrap - - ./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 + - ./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 compiler: "\"clang-3.8 --target=powerpc-linux-gnu\"" @@ -220,15 +265,34 @@ jobs: install: true script: - ./bootstrap - - ./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 + - ./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 env: TEST=coverage compiler: gcc 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" + - ./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 @@ -237,7 +301,15 @@ jobs: compiler: gcc 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-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./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-cunit-path=$HOME/cunit-install/$CROSS_ARCH - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-cunit-path=$HOME/cunit-install/$CROSS_ARCH" - stage: test env: TEST=doxygen From patchwork Wed Aug 30 13:00:12 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: 111310 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp892045qge; Wed, 30 Aug 2017 06:05:01 -0700 (PDT) X-Google-Smtp-Source: ADKCNb70Lk01g5OGBaSLtK9PNp8jcWFfpWmldCub2SvZJJ3v8wL56WRicHVu7SZ4VsqJPRdaIFC3 X-Received: by 10.55.221.201 with SMTP id u70mr10486378qku.267.1504098300942; Wed, 30 Aug 2017 06:05:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504098300; cv=none; d=google.com; s=arc-20160816; b=kFzS57OdJIMAyzZHh1saJkoNCC9AvAI99x6aRWfFQfZJMQp9YIir1Iu+RH/eyA1F+Q VaUKM5nil0oCIcU7lQnxqyfjpfwGUgWoYbsctaWlgp5JbnoZrhYkBwvqwWlXN8ewp5j/ HBjdikS62XETQTm0rqr0wY6HUdhvgpwl3jjgdYTERPg6drk4F+CbcuRbW06FWkAmf6Fy r3R6BTuR95asd7vv+vzMEScIspcEEeRTqqLZOWeQe07WmzOjpXB8MYwp8wQO6zCol0rG r9AMRTsLhMCd3Agw/Ua1uP537APpFghIdjvTeybMFmQqgKZDMdNGqSX01TiNu/eeopae q2tg== 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=5kuaYUJG243fB0UGpAY8E07Utc8bB9sZkeHAxi/5WxE=; b=Y4F/kITy/rPAM34dY3l1VzbD48AgMYS3/1Dz05EEddHQnLOCWoxkbblmhaAjY5P0hW dFEJuvCoGPFKsutUD+VW6/d4RacXFWN30c5wHgSdU6vPytP1hXePn+3x7BcEETQyEYPb lNhxo8M/0VaixVM1+LGNm+xiP7bax5PQhEJwEcpSiaGPW4w45zod640EIS/aknFPvnjP IpAvbSsYqJjHcny3rekSeLZCkC8zmiZq7OehUx3jftWRjVUWKFK4/YsoqmMN3h2WVWnJ G7k40MhplGxBvE6HN22AlHpPPk5fhfYSepzxzw65d71Czb7p+/eg5/gIc3bYFPXSwe0R YgGg== 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 t63si4127507qkl.284.2017.08.30.06.05.00; Wed, 30 Aug 2017 06:05:00 -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 99D4B60676; Wed, 30 Aug 2017 13:05:00 +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 D8BB962C59; Wed, 30 Aug 2017 13:01:35 +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 931DF61DD5; Wed, 30 Aug 2017 13:01:29 +0000 (UTC) Received: from forward4o.cmail.yandex.net (forward4o.cmail.yandex.net [37.9.109.248]) by lists.linaro.org (Postfix) with ESMTPS id 79E9661DD5 for ; Wed, 30 Aug 2017 13:00:37 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::28]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id 5D30D21523 for ; Wed, 30 Aug 2017 16:00:36 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 653186C00CCF for ; Wed, 30 Aug 2017 16:00:34 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pn21Hwqvkv-0Yv0XQ3x; Wed, 30 Aug 2017 16:00:34 +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:12 +0300 Message-Id: <1504098014-29411-7-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 6/8] travis: drop configure options enabled by default 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: Dmitry Eremin-Solenikov 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 | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) diff --git a/.travis.yml b/.travis.yml index 478d4200..bd2e3e32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -151,13 +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 @@ -188,11 +182,6 @@ jobs: - ./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 @@ -204,11 +193,6 @@ jobs: - ./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 @@ -220,11 +204,6 @@ jobs: - ./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 @@ -236,11 +215,6 @@ jobs: - ./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 @@ -252,11 +226,6 @@ jobs: - ./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 @@ -268,11 +237,6 @@ jobs: - ./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 @@ -281,13 +245,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" @@ -302,13 +260,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-cunit-path=$HOME/cunit-install/$CROSS_ARCH - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-cunit-path=$HOME/cunit-install/$CROSS_ARCH" - stage: test From patchwork Wed Aug 30 13:00:13 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: 111312 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp894950qge; Wed, 30 Aug 2017 06:06:37 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7BkjlIi+ZvJATR3/Mxa5h9UFVaJYzvwDrOAyVCg0dbeNszkVjL/+rjXBuus1N9jREBIMm1 X-Received: by 10.13.213.7 with SMTP id x7mr1093914ywd.61.1504098397059; Wed, 30 Aug 2017 06:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504098397; cv=none; d=google.com; s=arc-20160816; b=i53bdVrE53yRQyZDNhpmC4fRD78kSp2DD2HZNyWhQ/vAh7N0CeZoRBHEJd+E/vsfL8 6qrMBMIkE36ZkmaZ1rzopdxVp6bvUfAejYBgi/j2beLFlYkdgKHDQu2sGGRw5ca6miiV XOb0VueICcsK48Ei6c8h+wRiXMe7H/vqMV0baZXPfC6UKJsHhnhpgAAAudOXe+ODBG6D pBT6pTtziJj8sAf3t05Ogr9hgGw1Ip8twKkvuX0xWUmz55Edu15FeuBTYYPQ15pzIe9x x/s95ydaPz40bOMwDDS8WiJl8PZuMFBDzIrOJLf+3sIcEWePdVUI95UwzaaItCpPvxtB 3IOg== 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=eETPA7Fc2+xtiiYPTFAT0eMCHnSxyYwKos6Xrg82wDA=; b=IUI6y1oXb0e1SIqQqciWZT9UmR4RnPxs5s4ET2KKc8kcPtlMOcjMY8p9vfoGwtLpDU rQMDhN9SeGq3dFtPMJJ4cUlJTobMn2+WQjwcA4fEUxqTgWV+9vOxRQ2ipUzu4q7VEFue YlHeKOuLmsx3BSpJwY8YXKgTsYDeiYS5FF2O3OB8ihBiKSn0IN+IvhfaSSPnjRw3qw17 6Ewqrj4youSWGCFkRhsYoP3VblywqK4gG34p3jvWknx9rX/ceixVJgaJl3D2MH9sYJpF LEgXyX0rnkeONRAH4IqBtTSN2VjZfWXhojlWkN29zKBX7gPPi/eCO94RpJCp9rM2XEsU 8juA== 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 h29si5373238qtk.307.2017.08.30.06.06.36; Wed, 30 Aug 2017 06:06:37 -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 A553E618C8; Wed, 30 Aug 2017 13:06:36 +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 8BC6562CF5; Wed, 30 Aug 2017 13:01:45 +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 E32A362C62; Wed, 30 Aug 2017 13:01:32 +0000 (UTC) Received: from forward4o.cmail.yandex.net (forward4o.cmail.yandex.net [37.9.109.248]) by lists.linaro.org (Postfix) with ESMTPS id 00F5061E64 for ; Wed, 30 Aug 2017 13:00:38 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::28]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id E087420BEA for ; Wed, 30 Aug 2017 16:00:36 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id BD5346C00CC0 for ; Wed, 30 Aug 2017 16:00:36 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pn21Hwqvkv-0Zv8hLJP; Wed, 30 Aug 2017 16:00:35 +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:13 +0300 Message-Id: <1504098014-29411-8-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 7/8] travis: enable full debug option 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: Dmitry Eremin-Solenikov The --enable-debug=full option allows expansion of ODP_DBG() and ODPH_DBG() debugging statements throughout ODP. Add this option to .travis.yml to ensure that these are properly tested as part of regressions. Cc: 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 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index bd2e3e32..05cddbc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -155,7 +155,7 @@ script: --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF - --enable-debug + --enable-debug=full - 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 @@ -180,7 +180,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -191,7 +191,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -202,7 +202,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -213,7 +213,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -224,7 +224,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -235,7 +235,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -251,7 +251,7 @@ jobs: -coverage" --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" - --enable-debug + --enable-debug=full - 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 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