From patchwork Wed Oct 18 04:59:57 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: 116190 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5658009qgn; Tue, 17 Oct 2017 22:00:31 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RFc0M/52fK7FhbO4JQG1+Biku9/mJ3v9cQ/OiWNWRRFgevzEyAsr0tZvWHMi/5ntqgjwaj X-Received: by 10.36.238.73 with SMTP id b70mr7752591iti.127.1508302831159; Tue, 17 Oct 2017 22:00:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508302831; cv=none; d=google.com; s=arc-20160816; b=Bz38qOa5HeB+C4Iho2/v53y0vKqv3GglivIJdMn7nKUkwI6ZJvfrt3WcKi9+IHfW9y HT8sw/QRk5qd6NAPqPYdCxkG5GB/9CORLC8iiH+Tf71hhh/NYtjIIhuVaQ+cnVvVPFHy awsci/56pL9rT+pa1SMB6WC77e+hbgVKqVJlW5wmO8cM9m1oomLV5joDV6GgNVjLX4+/ V+P4Hg9rPGtXzcdYyLKBn9bjtTW7O9Tfr0/XschxKgiTTqYhBGjuOZ5FbFbhiLLoKVg5 3zQC2iiE/+kC62j/o6c9JvtZ5vvY0KIXrIoazbXltFdWa4/PFcdGDefW+zRLnm5sRP7q /42A== 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=hutUD+sKBHdwv+Xe9kL4OOcCxtz79VVo/hws0zQvWto=; b=UUC2o0ygWl3V/0nSDRdokFrnSiw1wPcOR96jCGAN9q0qtiZvaBxZL+xDbZNk0MeFLB eQ5rhUgRMlcMe73XqxjRrEaKtgP5VedN/60UrAwFQ7iRg0QPuNf2NiVWd/6lZXkP1eox iHX9O1uod/plWkhsjScNcT2WwEzZ2E8ny5a3yFQz1qwo0mcbcFgFrHtkDIZQduBPnN8Y cXqxJKYMMtcbwx702zqJKZsWdN1ifJZYJiz++S3iuuftZzHmlXN5URzzhP3jMYCrsK+r DfBzkBGQfAtcmxhw53UIsKKWoj/GBo9iM8zeaat1Vk2LEfGiYUyNZpPWj6LXmsP4evmE H6Ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id g16si6781503ioe.241.2017.10.17.22.00.30; Tue, 17 Oct 2017 22:00:31 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 2BE2F622E4; Wed, 18 Oct 2017 05:00:30 +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, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 81C9A61617; Wed, 18 Oct 2017 05:00:25 +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 0EA08622A1; Wed, 18 Oct 2017 05:00:18 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id 1575E61617 for ; Wed, 18 Oct 2017 05:00:16 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward106j.mail.yandex.net (Yandex) with ESMTP id BF51B1802B91 for ; Wed, 18 Oct 2017 08:00:14 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id gCTZqDlMSm-0ESu2v1g; Wed, 18 Oct 2017 08:00:14 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0ENOXHf2; Wed, 18 Oct 2017 08:00:14 +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: Wed, 18 Oct 2017 07:59:57 +0300 Message-Id: <1508302806-20268-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 1/10] configure: odp_openssl: use AS_HELP_STRING 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 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ m4/odp_openssl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/odp_openssl.m4 b/m4/odp_openssl.m4 index 72568a8ae..428470dc6 100644 --- a/m4/odp_openssl.m4 +++ b/m4/odp_openssl.m4 @@ -10,7 +10,7 @@ AC_ARG_VAR([OPENSSL_STATIC_LIBS], [static linker flags for OpenSSL crypto librar # Set optional OpenSSL path ########################################################################## AC_ARG_WITH([openssl-path], -[AC_HELP_STRING([--with-openssl-path=DIR], +[AS_HELP_STRING([--with-openssl-path=DIR], [path to openssl libs and headers (use system path if not provided)])], [OPENSSL_CPPFLAGS="-I$withval/include" OPENSSL_LIBS="-L$withval/lib -lcrypto"], From patchwork Wed Oct 18 04:59:58 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: 116193 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5659594qgn; Tue, 17 Oct 2017 22:02:18 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAaICsL65Y9XDwswQ4JdVSSoCQOqbwGTYXWYUSSuBpWPG25jduN0akwxsx8KMgMtkj8j/V2 X-Received: by 10.107.19.26 with SMTP id b26mr19317619ioj.19.1508302938722; Tue, 17 Oct 2017 22:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508302938; cv=none; d=google.com; s=arc-20160816; b=fmn5wrPuDm2SlRNIXSduNUigSn/wAjAvPBAOcodNSBetxBoWPFSxMfKG+Vs0gGyWCm RiYTsQtykIKJZ6eQePwy76emXx4r7uVLNv3+OZcvhhn56vo9boAeWLo8ek97qxBBi0K8 b3WbqfJ9xXrswaPU+FaGWMlzLVcp7zX69CZ9si40I4tFbLrFFbS0N/D2T2rOX0pOFv7E bHiE9kG8s1a7Xo+PTf6yxEb+W8iT6FfsFNjDDjCmCM2R+9VW+GCTdWLFfA4dCzNNYNtj 2rf8RJqza3OffYj+sz7GEQu682BVAhBj+d+CNpcB9FKKdeNxTY1a5BFzw8yZYzWaVGbD dr/g== 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=53gaHrhlJBNqI0zq05V4xVPLDmPq9Kw2wnFGSZax4MY=; b=rK1zjZkNfdbgpPMtQPnnDLZ8UYI+yEoMi86FlGJMiqjMclirbghWggtJB6wuaxld/3 PLMwKLSHNu0D3ls8Lp6ZrQv5fA2aig8uSUCHRhzBFnwafTUgyvcSQrCb0xJIJ4+1ibUY A7gRrP0Zm2Shcvic70AtKSZUZe3dKjoqrgy560qiXZIaX0tlOufBwXbFVkO31FJmHdLm aNFvGsd8Zu9CXFGrkfhL1mfGzjWJq0lbNquVbv6dlfkERnmazW/Iu7NtyhZwuB+vp+mm DRECkUs60TROAmyTQN5BkboSQWwO49ZZ6HerWTtVthrrA7GSB3/c344EAgmgNMbZ0sn+ QoGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id u34si8257791ioi.320.2017.10.17.22.02.18; Tue, 17 Oct 2017 22:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 4623E62955; Wed, 18 Oct 2017 05:02: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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 8E4A6628BD; Wed, 18 Oct 2017 05:00:34 +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 DE69962299; Wed, 18 Oct 2017 05:00:21 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id 612B762295 for ; Wed, 18 Oct 2017 05:00:16 +0000 (UTC) Received: from mxback12g.mail.yandex.net (mxback12g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:91]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 5D4A31802BA3 for ; Wed, 18 Oct 2017 08:00:15 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback12g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id k01kaKCkFZ-0FDSYZvO; Wed, 18 Oct 2017 08:00:15 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0ENOJUXi; Wed, 18 Oct 2017 08:00:14 +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: Wed, 18 Oct 2017 07:59:58 +0300 Message-Id: <1508302806-20268-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 2/10] configure: use AC_CONFIG_COMMANDS_PRE to set conditionals 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 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ configure.ac | 3 --- platform/linux-generic/m4/configure.m4 | 4 ++++ platform/linux-generic/m4/odp_netmap.m4 | 2 ++ platform/linux-generic/m4/odp_pcap.m4 | 4 +++- platform/linux-generic/m4/performance.m4 | 2 ++ 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 80bc3122a..fbf8fe2dd 100644 --- a/configure.ac +++ b/configure.ac @@ -162,9 +162,6 @@ AC_ARG_WITH([platform], AC_SUBST([with_platform]) -AM_CONDITIONAL([PLATFORM_IS_LINUX_GENERIC], - [test "x$with_platform" = "xlinux-generic"]) - ########################################################################## # Run platform specific checks and settings ########################################################################## diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4 index 7dc83bf87..68a270d89 100644 --- a/platform/linux-generic/m4/configure.m4 +++ b/platform/linux-generic/m4/configure.m4 @@ -11,6 +11,9 @@ m4_include([platform/linux-generic/m4/odp_schedule.m4]) m4_include([platform/linux-generic/m4/performance.m4]) +AC_CONFIG_COMMANDS_PRE([dnl +AM_CONDITIONAL([PLATFORM_IS_LINUX_GENERIC], + [test "${with_platform}" = "linux-generic"]) AC_CONFIG_FILES([platform/linux-generic/Makefile platform/linux-generic/libodp-linux.pc platform/linux-generic/include/odp/api/plat/static_inline.h @@ -21,3 +24,4 @@ AC_CONFIG_FILES([platform/linux-generic/Makefile platform/linux-generic/test/pktio_ipc/Makefile platform/linux-generic/test/ring/Makefile platform/linux-generic/test/performance/Makefile]) +]) diff --git a/platform/linux-generic/m4/odp_netmap.m4 b/platform/linux-generic/m4/odp_netmap.m4 index bd04824bb..e14a027f9 100644 --- a/platform/linux-generic/m4/odp_netmap.m4 +++ b/platform/linux-generic/m4/odp_netmap.m4 @@ -43,4 +43,6 @@ fi ########################################################################## CPPFLAGS=$OLD_CPPFLAGS +AC_CONFIG_COMMANDS_PRE([dnl AM_CONDITIONAL([netmap_support], [test x$netmap_support = xyes ]) +]) diff --git a/platform/linux-generic/m4/odp_pcap.m4 b/platform/linux-generic/m4/odp_pcap.m4 index 0b5b8a2e2..0a8f35186 100644 --- a/platform/linux-generic/m4/odp_pcap.m4 +++ b/platform/linux-generic/m4/odp_pcap.m4 @@ -15,4 +15,6 @@ fi AC_SUBST([PCAP_LIBS]) -AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes]) +AC_CONFIG_COMMANDS_PRE([dnl +AM_CONDITIONAL([HAVE_PCAP], [test x$have_pcap = xyes]) +]) diff --git a/platform/linux-generic/m4/performance.m4 b/platform/linux-generic/m4/performance.m4 index 05b3a9905..f2e7107c0 100644 --- a/platform/linux-generic/m4/performance.m4 +++ b/platform/linux-generic/m4/performance.m4 @@ -5,4 +5,6 @@ AC_ARG_ENABLE([test-perf-proc], [AS_HELP_STRING([--enable-test-perf-proc], [run test in test/performance in process mode])], [test_perf_proc=$enableval], [test_perf_proc=yes]) +AC_CONFIG_COMMANDS_PRE([dnl AM_CONDITIONAL([test_perf_proc], [test x$test_perf_proc = xyes ]) +]) From patchwork Wed Oct 18 04:59:59 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: 116191 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5658486qgn; Tue, 17 Oct 2017 22:01:02 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TmpoAXH6XumX6/rCK6F+/akwpyNmcH3PaX+XVVEfu5PyR5IPMpfALpT6Gv+8iiAZTp3hn6 X-Received: by 10.107.53.66 with SMTP id c63mr15698912ioa.212.1508302862099; Tue, 17 Oct 2017 22:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508302862; cv=none; d=google.com; s=arc-20160816; b=VHF4itkKJJGdrGURWeyi1j4R3dn0jY+JYkWd3dKTwwJQMP3ysrMbDon64cWEnUEOGx XqaTj336CkMDeblBKFlbo+ymQqssBzjDakFhpL4wzQpoZff6sfULTOvbxF3J7+foPcJT E9M6NS+u3Ovg8F0vyai6j/kwBrhFyRltJ+NbIf1ESmmL3EPmOim/1wWqM3TaoefCBrT4 v/z+hqILQZjpcFQSkQg+uwnATimd4tasSK6iTRzZZ/rjN3IHJEbmBJmzGzu4OZkIG83R 588WIIyWOH47aQPGDzyB0I9eNW3aNQfREdSCXXIPmhPw4hm/Zi5+/aIiqBLtM72aTdC0 nrlg== 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=y/s+q40WvsChIa6EhFKWP2Xl7i9tTuzmGsMlYy3ue+4=; b=hql/SP1LQagtVUOoAAlBw2EQLjRvq0fsGTm4z89jVaIm2gcNTzbPnVAtdTQDEDD/f1 fYjYhtfBXI+aSK7SynqAVuKZoSoCh3YfeQ2v1vSarViPPYz7KFxxlDBa/ryu+hcO2cXM v8kn24sDXc+deVkiGtbcGYx5ig28qMEM9ZqyISa3oILA2Z+HvTNlYol8udSwrPoLCyHn KF8GwdZ2EEJRmCKihsh0ND014V8cBF0/gsU2a7XbyO8YtZQ3W/ZVp2wdHLiUJvSUtHCC dZIe+jgDWulwCGk22Jp6ctEeGuZ4QDNTKpZqgMNrO05Yg8AbPWAZldjG6xEaolyiJKuE 85oQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id r62si6807963itg.64.2017.10.17.22.01.01; Tue, 17 Oct 2017 22:01:02 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 9E1D9629E0; Wed, 18 Oct 2017 05:01:01 +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, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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 D21556229C; Wed, 18 Oct 2017 05:00:26 +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 680EE62297; Wed, 18 Oct 2017 05:00:20 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 39A9E62297 for ; Wed, 18 Oct 2017 05:00:17 +0000 (UTC) Received: from mxback15j.mail.yandex.net (mxback15j.mail.yandex.net [IPv6:2a02:6b8:0:1619::91]) by forward100j.mail.yandex.net (Yandex) with ESMTP id EBF125D83A6D for ; Wed, 18 Oct 2017 08:00:15 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback15j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id oD9W81nbr6-0FZ8L46G; Wed, 18 Oct 2017 08:00:15 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0FNaqFYU; Wed, 18 Oct 2017 08:00:15 +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: Wed, 18 Oct 2017 07:59:59 +0300 Message-Id: <1508302806-20268-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 3/10] configure: drop SDK_INSTALL_PATH variable 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 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ configure.ac | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/configure.ac b/configure.ac index fbf8fe2dd..442c85db4 100644 --- a/configure.ac +++ b/configure.ac @@ -187,16 +187,6 @@ m4_include([./helper/m4/configure.m4]) m4_include([./test/m4/configure.m4]) ########################################################################## -# Set SDK install path -########################################################################## -AC_ARG_WITH([sdk-install-path], -AC_HELP_STRING([--with-sdk-install-path=DIR path to external libs and headers], - [(or in the default path if not specified).]), -[SDK_INSTALL_PATH=$withval SDK_INSTALL_PATH_=1],[SDK_INSTALL_PATH_=]) - -AC_SUBST(SDK_INSTALL_PATH) - -########################################################################## # Set the install directory for test binaries/scripts ########################################################################## AC_ARG_WITH([testdir], @@ -211,7 +201,6 @@ 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([HAVE_DOXYGEN], [test "x${DOXYGEN}" = "xdoxygen"]) AM_CONDITIONAL([user_guide], [test "x${user_guides}" = "xyes" ]) AM_CONDITIONAL([HAVE_MSCGEN], [test "x${MSCGEN}" = "xmscgen"]) From patchwork Wed Oct 18 05:00:00 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: 116192 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5659120qgn; Tue, 17 Oct 2017 22:01:42 -0700 (PDT) X-Google-Smtp-Source: AOwi7QB14Bl+oohthEyRSypXn45hK5C3PvsFWfOtWK4bWBCQoQxftrtB5ezhvvEr3iNo2PyJOK1L X-Received: by 10.107.212.14 with SMTP id l14mr20980519iog.66.1508302902332; Tue, 17 Oct 2017 22:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508302902; cv=none; d=google.com; s=arc-20160816; b=H3qr1gvBX9hSOD2DboCu4zwBMH6A9oHV4wh6Wg3knxzq/DPl0CKcJCoQht3wwHEMZy PxDGKzFcmzNW0kSNOjILzxcBXizb5doJe+zgAWWW68oBAZhBYGD2q8VeMXI93k3Eoybe 00vaPc1Lzq19k3ti6Gek79RvO5u1iNpfzFz3jrL52Hp9IDRsqM6fKuao7/WxAmLUDN1T Htr0B6kOad53KuqzM3bNG/6xKg1GeK19IQcbqO3pX3/cdV5W9j+uGmmlvoV/u/9KYJa4 wQrnYZRx5X7MHbqwb+j/8Sv6Hre69toH9OHnFyocJr0yAhQpGVKtY6PzkWEPhSKP1luD 4z4w== 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=43tS51OfD+RHxEmrdYQEwlquykkN97FTfDQlsD2YU8w=; b=lfzqsOBcHAQ5+xcq+Qf5MFBYRxUDdIWJ6ctJcm5adrp/kD9KVylXeBc2FLbQKXYKFs lxl8WqG5YBRcKsTNACb5JJna2vBdgsmjbLzFgoCShYN9viQ7PnJVjissN4SaJN7xRPcc PcPNFDrAoOOMpfWRiWP8ysYR4U3wPVQjD96NnQvFHrd+1jIC+jT7jiE4FGpWlLCxe/mM oRSU6xclh0Zgdu2Yc/qqmIeVJoXETaVW0FZxJCP1Y+/2O1ZTxsA6vHHjGImTqtWQJxLs 5GyeWSTJqMA8KAV8p5FX8jBfFKSh0w9HmVd9Xe+gRJf+BTVhI/WOOy7mmsX4Bp70ZenD ErBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id t64si7876712itd.67.2017.10.17.22.01.41; Tue, 17 Oct 2017 22:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 C416A62A8E; Wed, 18 Oct 2017 05:01:41 +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,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 4C708622E4; Wed, 18 Oct 2017 05:00:31 +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 EC05D622E4; Wed, 18 Oct 2017 05:00:20 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id E931C62299 for ; Wed, 18 Oct 2017 05:00:17 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 75149444461E for ; Wed, 18 Oct 2017 08:00:16 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mseWm1lscr-0GxO2dlZ; Wed, 18 Oct 2017 08:00:16 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0FN0FYUl; Wed, 18 Oct 2017 08:00:16 +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: Wed, 18 Oct 2017 08:00:00 +0300 Message-Id: <1508302806-20268-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 4/10] configure: cleanup per-platform if 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 Move setting IMPLEMENTATION_NAME to platform configure.m4. Use AS_IF instead of handcoded if. Use AC_MSG_ERROR instead of echo & exit. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ configure.ac | 12 +++--------- platform/linux-generic/m4/configure.m4 | 2 ++ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index 442c85db4..c419df0f6 100644 --- a/configure.ac +++ b/configure.ac @@ -165,15 +165,9 @@ AC_SUBST([with_platform]) ########################################################################## # Run platform specific checks and settings ########################################################################## -IMPLEMENTATION_NAME="" -if test "${with_platform}" = "linux-generic"; -then - m4_include([./platform/linux-generic/m4/configure.m4]) - IMPLEMENTATION_NAME="odp-linux" -else - echo "UNSUPPORTED PLATFORM: ${with_platform}" - exit 1 -fi +AS_IF([test "${with_platform}" = "linux-generic"], + [m4_include([./platform/linux-generic/m4/configure.m4])], + [AC_MSG_ERROR([UNSUPPORTED PLATFORM: ${with_platform}])]) AC_DEFINE_UNQUOTED([IMPLEMENTATION_NAME], ["$IMPLEMENTATION_NAME"], [Define to the name of the implementation]) diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4 index 68a270d89..5d7ad35a1 100644 --- a/platform/linux-generic/m4/configure.m4 +++ b/platform/linux-generic/m4/configure.m4 @@ -1,3 +1,5 @@ +IMPLEMENTATION_NAME="odp-linux" + ODP_VISIBILITY ODP_ATOMIC From patchwork Wed Oct 18 05:00:01 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: 116196 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5661224qgn; Tue, 17 Oct 2017 22:04:16 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDjUvbRMdL6CdJLSDnfeCWQ/DCR5+IBbfyim912pvG6GQsUy9Zh0o0NHh7wDIjJnwp2MMCD X-Received: by 10.107.212.14 with SMTP id l14mr20987567iog.66.1508303056481; Tue, 17 Oct 2017 22:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508303056; cv=none; d=google.com; s=arc-20160816; b=MBTvuQaMpo+dHpvCjNwtVpC98363xWRe4ssm9oTi63rIIe68via8gE8MRKOOSLgPdS NI+/4rEm2An0vHzwTpfW+VvVMlMHWJNxvWa2rOv1nLBdr4rA9fq1WPEhSphj9yPZKTKp 82wEtSpEIp7u2rV7k4wnkL1UVYMiNtV1Rxq+NpAYSKeIODoEfKzns5wVzbxQi7rHj6bM YYZ7cq4WJvPzOFgz481tIK/TykNaS6iQGUxW+Eic29CZPuFodAyuuzLsS/KUMkQ3VnZ3 5hLMT+QmlAb1IZWlGc5qMDyLBaKjLQ1hLfv/StlrhvkPKQdslITOi905QrvIfFZ2ndEf xsHA== 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=ZVEhQwSwXHZ6WbKFeWm35XH9J3VE8i/SJmhcVCDHEvI=; b=nkJKTzov0LqDs2MGeXmDXU/P5h9i3ed9JeMiZWWw/ByLjaKn/RIsYA8ZjPVFa6DzvY /tB4gBeUNKFDyPwviMvhUzF7vqJ5q6R7FrOLkrN0RmZ1+eBoclK/SzPJvhLvAW4Q8BJ6 hNKB3M2pnRvRkYV2KSFWvgZ3J7ki/Zyq03e/VSIWHPQVwJEKUbAOYBPWI1lYoFBh7u/j 9FuRVv2YtUfe+bShYQG4Z4iImpvAqBofFZErvLGjVH40nkKrgbXeKmurhT42EGKFL6W5 syvzwSO4kif7c8RO+FCgqUO0y4O6ex9bTCrKZUXXBw3JWjgehzwJTtPK6VNAz+E6chBr QEIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id 92si8534186ior.188.2017.10.17.22.04.16; Tue, 17 Oct 2017 22:04:16 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 146FB62B2E; Wed, 18 Oct 2017 05:04: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, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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 7BC2F6295A; Wed, 18 Oct 2017 05:00:46 +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 036D962299; Wed, 18 Oct 2017 05:00:24 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 2DEE161617 for ; Wed, 18 Oct 2017 05:00:18 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 30E6C5D839FE for ; Wed, 18 Oct 2017 08:00:17 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Erq46Irp0H-0HiatUNs; Wed, 18 Oct 2017 08:00:17 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0GNeLAJO; Wed, 18 Oct 2017 08:00:16 +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: Wed, 18 Oct 2017 08:00:01 +0300 Message-Id: <1508302806-20268-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 5/10] test: drop unused EXEEXT suffix 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 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ test/miscellaneous/Makefile.am | 4 ++-- test/performance/Makefile.am | 16 ++++++++-------- test/validation/api/atomic/Makefile.am | 2 +- test/validation/api/barrier/Makefile.am | 2 +- test/validation/api/buffer/Makefile.am | 2 +- test/validation/api/classification/Makefile.am | 2 +- test/validation/api/cpumask/Makefile.am | 2 +- test/validation/api/crypto/Makefile.am | 2 +- test/validation/api/errno/Makefile.am | 2 +- test/validation/api/hash/Makefile.am | 2 +- test/validation/api/init/Makefile.am | 2 +- test/validation/api/lock/Makefile.am | 2 +- test/validation/api/packet/Makefile.am | 2 +- test/validation/api/pktio/Makefile.am | 2 +- test/validation/api/pool/Makefile.am | 2 +- test/validation/api/queue/Makefile.am | 2 +- test/validation/api/random/Makefile.am | 2 +- test/validation/api/scheduler/Makefile.am | 2 +- test/validation/api/shmem/Makefile.am | 2 +- test/validation/api/std_clib/Makefile.am | 2 +- test/validation/api/system/Makefile.am | 2 +- test/validation/api/thread/Makefile.am | 2 +- test/validation/api/time/Makefile.am | 2 +- test/validation/api/timer/Makefile.am | 2 +- test/validation/api/traffic_mngr/Makefile.am | 2 +- 25 files changed, 33 insertions(+), 33 deletions(-) diff --git a/test/miscellaneous/Makefile.am b/test/miscellaneous/Makefile.am index 7d42b07e1..3ea5d5e84 100644 --- a/test/miscellaneous/Makefile.am +++ b/test/miscellaneous/Makefile.am @@ -1,8 +1,8 @@ include $(top_srcdir)/test/Makefile.inc if test_cpp -bin_PROGRAMS = odp_api_from_cpp$(EXEEXT) -TESTS = odp_api_from_cpp$(EXEEXT) +bin_PROGRAMS = odp_api_from_cpp +TESTS = odp_api_from_cpp endif odp_api_from_cpp_SOURCES = odp_api_from_cpp.cpp diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am index 8d9fd3593..1dccd82e1 100644 --- a/test/performance/Makefile.am +++ b/test/performance/Makefile.am @@ -2,14 +2,14 @@ include $(top_srcdir)/test/Makefile.inc TESTS_ENVIRONMENT += TEST_DIR=${builddir} -EXECUTABLES = odp_bench_packet$(EXEEXT) \ - odp_crypto$(EXEEXT) \ - odp_pktio_perf$(EXEEXT) - -COMPILE_ONLY = odp_l2fwd$(EXEEXT) \ - odp_pktio_ordered$(EXEEXT) \ - odp_sched_latency$(EXEEXT) \ - odp_scheduling$(EXEEXT) +EXECUTABLES = odp_bench_packet \ + odp_crypto \ + odp_pktio_perf + +COMPILE_ONLY = odp_l2fwd \ + odp_pktio_ordered \ + odp_sched_latency \ + odp_scheduling TESTSCRIPTS = odp_l2fwd_run.sh \ odp_pktio_ordered_run.sh \ diff --git a/test/validation/api/atomic/Makefile.am b/test/validation/api/atomic/Makefile.am index b09d3b88c..859e3c51a 100644 --- a/test/validation/api/atomic/Makefile.am +++ b/test/validation/api/atomic/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = atomic_main$(EXEEXT) +test_PROGRAMS = atomic_main atomic_main_SOURCES = atomic_main.c atomic.c atomic.h atomic_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/barrier/Makefile.am b/test/validation/api/barrier/Makefile.am index 4dfb1d1ec..b0310e3a5 100644 --- a/test/validation/api/barrier/Makefile.am +++ b/test/validation/api/barrier/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = barrier_main$(EXEEXT) +test_PROGRAMS = barrier_main barrier_main_SOURCES = barrier_main.c barrier.c barrier.h barrier_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/buffer/Makefile.am b/test/validation/api/buffer/Makefile.am index ae6ce0a40..59639ff7b 100644 --- a/test/validation/api/buffer/Makefile.am +++ b/test/validation/api/buffer/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = buffer_main$(EXEEXT) +test_PROGRAMS = buffer_main buffer_main_SOURCES = buffer_main.c buffer.c buffer.h buffer_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/classification/Makefile.am b/test/validation/api/classification/Makefile.am index f177528e0..b58703079 100644 --- a/test/validation/api/classification/Makefile.am +++ b/test/validation/api/classification/Makefile.am @@ -1,6 +1,6 @@ include ../Makefile.inc -test_PROGRAMS = classification_main$(EXEEXT) +test_PROGRAMS = classification_main classification_main_SOURCES = classification_main.c \ odp_classification_basic.c \ odp_classification_tests.c \ diff --git a/test/validation/api/cpumask/Makefile.am b/test/validation/api/cpumask/Makefile.am index ddafb9ab2..ff12f56f7 100644 --- a/test/validation/api/cpumask/Makefile.am +++ b/test/validation/api/cpumask/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = cpumask_main$(EXEEXT) +test_PROGRAMS = cpumask_main cpumask_main_SOURCES = cpumask_main.c cpumask.c cpumask.h cpumask_main_LDADD = $(LIBCPUMASK_COMMON) $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/crypto/Makefile.am b/test/validation/api/crypto/Makefile.am index 6660e1b2b..94f1c1cae 100644 --- a/test/validation/api/crypto/Makefile.am +++ b/test/validation/api/crypto/Makefile.am @@ -1,6 +1,6 @@ include ../Makefile.inc -test_PROGRAMS = crypto_main$(EXEEXT) +test_PROGRAMS = crypto_main crypto_main_SOURCES = crypto_main.c \ crypto.c \ crypto.h \ diff --git a/test/validation/api/errno/Makefile.am b/test/validation/api/errno/Makefile.am index 8f7b2e88c..9eddfb482 100644 --- a/test/validation/api/errno/Makefile.am +++ b/test/validation/api/errno/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = errno_main$(EXEEXT) +test_PROGRAMS = errno_main errno_main_SOURCES = errno_main.c errno.c errno.h errno_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/hash/Makefile.am b/test/validation/api/hash/Makefile.am index b37f2e003..bd098ffb6 100644 --- a/test/validation/api/hash/Makefile.am +++ b/test/validation/api/hash/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = hash_main$(EXEEXT) +test_PROGRAMS = hash_main hash_main_SOURCES = hash_main.c hash.c hash.h hash_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/init/Makefile.am b/test/validation/api/init/Makefile.am index ba25c61f7..522c3a187 100644 --- a/test/validation/api/init/Makefile.am +++ b/test/validation/api/init/Makefile.am @@ -3,7 +3,7 @@ include ../Makefile.inc # most platforms are expected not to support multiple ODP inits # following each other: therefore 3 separate binaries are # created, each containing its ODP init test. -test_PROGRAMS = init_main_abort$(EXEEXT) init_main_log$(EXEEXT) init_main_ok$(EXEEXT) +test_PROGRAMS = init_main_abort init_main_log init_main_ok init_main_abort_SOURCES = init_main_abort.c init.c init.h init_main_log_SOURCES = init_main_log.c init.c init.h init_main_ok_SOURCES = init_main_ok.c init.c init.h diff --git a/test/validation/api/lock/Makefile.am b/test/validation/api/lock/Makefile.am index 80740282c..b434fe77c 100644 --- a/test/validation/api/lock/Makefile.am +++ b/test/validation/api/lock/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = lock_main$(EXEEXT) +test_PROGRAMS = lock_main lock_main_SOURCES = lock_main.c lock.c lock.h lock_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/packet/Makefile.am b/test/validation/api/packet/Makefile.am index fb3569977..43300ed0d 100644 --- a/test/validation/api/packet/Makefile.am +++ b/test/validation/api/packet/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = packet_main$(EXEEXT) +test_PROGRAMS = packet_main packet_main_SOURCES = packet_main.c packet.c packet.h packet_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/pktio/Makefile.am b/test/validation/api/pktio/Makefile.am index eb4b60383..a416fd1da 100644 --- a/test/validation/api/pktio/Makefile.am +++ b/test/validation/api/pktio/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = pktio_main$(EXEEXT) +test_PROGRAMS = pktio_main pktio_main_SOURCES = pktio_main.c parser.c parser.h pktio.c pktio.h pktio_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/pool/Makefile.am b/test/validation/api/pool/Makefile.am index 85a37b053..9e7c42b51 100644 --- a/test/validation/api/pool/Makefile.am +++ b/test/validation/api/pool/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = pool_main$(EXEEXT) +test_PROGRAMS = pool_main pool_main_SOURCES = pool_main.c pool.c pool.h pool_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/queue/Makefile.am b/test/validation/api/queue/Makefile.am index a5b6a9b10..9b1c6b777 100644 --- a/test/validation/api/queue/Makefile.am +++ b/test/validation/api/queue/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = queue_main$(EXEEXT) +test_PROGRAMS = queue_main queue_main_SOURCES = queue_main.c queue.c queue.h queue_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/random/Makefile.am b/test/validation/api/random/Makefile.am index e026f045a..e9e7ffc06 100644 --- a/test/validation/api/random/Makefile.am +++ b/test/validation/api/random/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = random_main$(EXEEXT) +test_PROGRAMS = random_main random_main_SOURCES = random_main.c random.c random.h random_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/scheduler/Makefile.am b/test/validation/api/scheduler/Makefile.am index 6c71b0100..34abf7d6a 100644 --- a/test/validation/api/scheduler/Makefile.am +++ b/test/validation/api/scheduler/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = scheduler_main$(EXEEXT) +test_PROGRAMS = scheduler_main scheduler_main_SOURCES = scheduler_main.c scheduler.c scheduler.h scheduler_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/shmem/Makefile.am b/test/validation/api/shmem/Makefile.am index d955cc22e..8c5d7f700 100644 --- a/test/validation/api/shmem/Makefile.am +++ b/test/validation/api/shmem/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = shmem_main$(EXEEXT) +test_PROGRAMS = shmem_main shmem_main_SOURCES = shmem_main.c shmem.c shmem.h shmem_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/std_clib/Makefile.am b/test/validation/api/std_clib/Makefile.am index 919c2556f..dc75c95cf 100644 --- a/test/validation/api/std_clib/Makefile.am +++ b/test/validation/api/std_clib/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = std_clib_main$(EXEEXT) +test_PROGRAMS = std_clib_main std_clib_main_SOURCES = std_clib_main.c std_clib.c std_clib.h std_clib_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/system/Makefile.am b/test/validation/api/system/Makefile.am index 15e6d49a5..123d3a693 100644 --- a/test/validation/api/system/Makefile.am +++ b/test/validation/api/system/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = system_main$(EXEEXT) +test_PROGRAMS = system_main system_main_SOURCES = system_main.c system.c system.h system_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/thread/Makefile.am b/test/validation/api/thread/Makefile.am index 59e136b24..1c56574f4 100644 --- a/test/validation/api/thread/Makefile.am +++ b/test/validation/api/thread/Makefile.am @@ -1,6 +1,6 @@ include ../Makefile.inc -test_PROGRAMS = thread_main$(EXEEXT) +test_PROGRAMS = thread_main thread_main_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_THRMASK thread_main_SOURCES = thread_main.c thread.c thread.h thread_main_LDADD = $(LIBTHRMASK_COMMON) $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/time/Makefile.am b/test/validation/api/time/Makefile.am index faed577f0..669d1226b 100644 --- a/test/validation/api/time/Makefile.am +++ b/test/validation/api/time/Makefile.am @@ -7,7 +7,7 @@ TEST_EXTENSIONS = .sh TESTS = $(TESTSCRIPTS) -test_PROGRAMS = time_main$(EXEEXT) +test_PROGRAMS = time_main time_main_SOURCES = time_main.c time.c time_test.h time_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/timer/Makefile.am b/test/validation/api/timer/Makefile.am index 4f79020dd..c953dcb34 100644 --- a/test/validation/api/timer/Makefile.am +++ b/test/validation/api/timer/Makefile.am @@ -1,5 +1,5 @@ include ../Makefile.inc -test_PROGRAMS = timer_main$(EXEEXT) +test_PROGRAMS = timer_main timer_main_SOURCES = timer_main.c timer.c timer.h timer_main_LDADD = $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/validation/api/traffic_mngr/Makefile.am b/test/validation/api/traffic_mngr/Makefile.am index 3884a13c5..dc4f87092 100644 --- a/test/validation/api/traffic_mngr/Makefile.am +++ b/test/validation/api/traffic_mngr/Makefile.am @@ -7,7 +7,7 @@ TEST_EXTENSIONS = .sh TESTS = $(TESTSCRIPTS) -test_PROGRAMS = traffic_mngr_main$(EXEEXT) +test_PROGRAMS = traffic_mngr_main traffic_mngr_main_SOURCES = traffic_mngr_main.c traffic_mngr.c traffic_mngr.h traffic_mngr_main_LDADD = -lm $(LIBCUNIT_COMMON) $(LIBODP) From patchwork Wed Oct 18 05:00:02 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: 116194 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5660171qgn; Tue, 17 Oct 2017 22:03:00 -0700 (PDT) X-Google-Smtp-Source: ABhQp+S1PKR9IaMcYdLOeKFS2JwaiXDwvnJyqpwvX+3yJKe0XzSiA1Dvtqrk767KQ8YXeatr6pma X-Received: by 10.36.118.81 with SMTP id z78mr8666112itb.97.1508302980416; Tue, 17 Oct 2017 22:03:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508302980; cv=none; d=google.com; s=arc-20160816; b=nMbWNkLqGtX8DpcAyIJn/lLvGjhFwhGs63ANwhJOlVAfolUhu9uAPnVZilYE5MiEpu 8K8fzrsrIVZJLaG+2un0LVDAk6iDtGXSTcob73zr1RThxIQDJ3xUgzD1wYmBjwkCzbIC dvF9HaAYFjCLEucgSUMUL1pmQ5ucbtvP7/GzkymALJo+ayJ0k3yST+GERqro31JTKf0v hpF/EgnmgcFoiM4qjLMgEj7E4pTN8l48/R7RgaR1UgQGszWRMAsowv5yCBRE8/Nf5e1X 6W+E/HMiAe+SFpY+9Ou8iyXT6dxjSpq0tMNH32xJWSk6v2r8aWAxA6GkKzQLg6a6/5e8 hHBQ== 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=0qpT/dmeKoajzXtAEyQ7g0M/P3zXmX0qBFUcU+2R9IQ=; b=x5FQsC+R6yk/Az2Dc/6ieczyViC7J3nNGfaQPOmbc55gzrSBi2HbwhyWiLmlMRwcTz c5g8RM4t+dfdwC1dKw0atfLjX8JZZOMJ1mdpLUP6TT2waFmmlzKni8UtGrm5dlbf/iDq 1uSDryjyAPR+l4w+Jm4kF1muc+2UN8BdjiETvO52cnROzfv/TfLPerp91ykLsH8Ng8MR ItI4IhfFxAE5Zjt6Wl8lwZ1BZf/FfWvKJjugjHbFiV9plekMISuLmcrtV3I8bXxuviDg kRRHWm9qRjszGKy9/a/GsT8xraMlu/CRMuz+DXpnKQ/P4eoQqjU4zO/KkwOYiQCWR2t7 72Qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id q3si8484429itg.0.2017.10.17.22.03.00; Tue, 17 Oct 2017 22:03:00 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 E4B6B62AC0; Wed, 18 Oct 2017 05:02:59 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 D962E628D3; Wed, 18 Oct 2017 05:00:36 +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 5B20C62295; Wed, 18 Oct 2017 05:00:23 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 3F2806229C for ; Wed, 18 Oct 2017 05:00:19 +0000 (UTC) Received: from mxback15g.mail.yandex.net (mxback15g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:94]) by forward100p.mail.yandex.net (Yandex) with ESMTP id BA26151035C7 for ; Wed, 18 Oct 2017 08:00:17 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback15g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id pAMj0o0L76-0HniCXSj; Wed, 18 Oct 2017 08:00:17 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0HNGnkmm; Wed, 18 Oct 2017 08:00:17 +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: Wed, 18 Oct 2017 08:00:02 +0300 Message-Id: <1508302806-20268-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 6/10] linux-gen: drop unused EXEEXT suffix 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 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ platform/linux-generic/test/mmap_vlan_ins/Makefile.am | 2 +- platform/linux-generic/test/ring/Makefile.am | 2 +- platform/linux-generic/test/validation/api/shmem/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/linux-generic/test/mmap_vlan_ins/Makefile.am b/platform/linux-generic/test/mmap_vlan_ins/Makefile.am index e42b5254c..8559e55b5 100644 --- a/platform/linux-generic/test/mmap_vlan_ins/Makefile.am +++ b/platform/linux-generic/test/mmap_vlan_ins/Makefile.am @@ -10,7 +10,7 @@ dist_check_DATA = vlan.pcap test_SCRIPTS = $(dist_check_SCRIPTS) test_DATA = $(dist_check_DATA) -test_PROGRAMS = plat_mmap_vlan_ins$(EXEEXT) +test_PROGRAMS = plat_mmap_vlan_ins # Clonned from example odp_l2fwd simple plat_mmap_vlan_ins_SOURCES = mmap_vlan_ins.c diff --git a/platform/linux-generic/test/ring/Makefile.am b/platform/linux-generic/test/ring/Makefile.am index 57ba82aef..376047559 100644 --- a/platform/linux-generic/test/ring/Makefile.am +++ b/platform/linux-generic/test/ring/Makefile.am @@ -1,6 +1,6 @@ include ../Makefile.inc -test_PROGRAMS = ring_main$(EXEEXT) +test_PROGRAMS = ring_main ring_main_SOURCES = \ ring_main.c \ ring_suites.c ring_suites.h \ diff --git a/platform/linux-generic/test/validation/api/shmem/Makefile.am b/platform/linux-generic/test/validation/api/shmem/Makefile.am index 962450e56..131a511be 100644 --- a/platform/linux-generic/test/validation/api/shmem/Makefile.am +++ b/platform/linux-generic/test/validation/api/shmem/Makefile.am @@ -1,7 +1,7 @@ include ../Makefile.inc #the main test program is shmem_linux, which, in turn, starts a shmem_odp: -test_PROGRAMS = shmem_linux$(EXEEXT) shmem_odp1$(EXEEXT) shmem_odp2$(EXEEXT) +test_PROGRAMS = shmem_linux shmem_odp1 shmem_odp2 #shmem_linux is stand alone, pure linux (no ODP): shmem_linux_SOURCES = shmem_linux.c shmem_linux.h shmem_common.h From patchwork Wed Oct 18 05:00:03 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: 116199 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5663298qgn; Tue, 17 Oct 2017 22:06:41 -0700 (PDT) X-Google-Smtp-Source: ABhQp+ROmzRDRmONPZuUBb209Wyb5Pwx5Sii3rr7jbLtbTLPmvJHuJPvyrwFOXlzip0YihqJMmMV X-Received: by 10.36.3.141 with SMTP id e135mr8949929ite.1.1508303201510; Tue, 17 Oct 2017 22:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508303201; cv=none; d=google.com; s=arc-20160816; b=V0Rlap9C9Nkob782v2zOW2s8cjJxEP2fWkeCBdw8TzdAs+/gKmWSCTo2ahZTfsY1+W w0aLwjSUUPYum6OR7Percq7AVO2wbS57nmX//XsACHmumKK4iDZ7O3QPrA8NOjjtBph1 xb71h+oWOJKctYAl0t81pM0HV5zB8KUUnEn6818IXYe9m7joMLow2MsHoVNwrZqWcFlM VqkZtQSJJQ/VAbyGXL5ty1Q4POINisc7L+g6pYTDjYpNo68rL1F4OBs2Yqy1rhww/m2j xypsDs7+t9aqzdPktV7izZUQeyEGpzX7nW21rnDI9wHFosZqZeluaAE0/SMXJkiZGmGh DPdQ== 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=mZbBRtNmTFmnskoJMDJ7vvVxGZ1JnShmu4gsa0HYgQw=; b=yz6+q0Kl/YhXZFmcIX+PXRySlY0mrGcAP5TjJsdufF4SOyua7yxfJiMPmR7my0/CEp PxlCxAds0GiAZuVuzNErbIIyaeW1TZfbfXV2KdR9Rbm0pOVuaZ2TGrsxX+yAfpG+dyf7 sQLYH2QnH+oKDbf4Qkm0+8zkJXRjk1GPwY1I7AqrqqCxfod8MHLsYZeo3ckwkSbKrT3C 1nKZ4hVijD3FwGjBVus2uQVpGk9mCKLNzjhfhBZnvdvKlaqBJrOSYaeCddEEV8AqqGgb 0s3bUScxU/uPmfSGIC3qj3PrdS0vvFUsFvjDsaNliKuAMMOoh7paQfrWxxgfHTrSrRsM ZPWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id l69si8252044ioe.326.2017.10.17.22.06.41; Tue, 17 Oct 2017 22:06:41 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 EEEF562C8C; Wed, 18 Oct 2017 05:06:40 +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, 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 4B815629E4; Wed, 18 Oct 2017 05:01:06 +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 C244C622E6; Wed, 18 Oct 2017 05:00:28 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 94413622A1 for ; Wed, 18 Oct 2017 05:00:19 +0000 (UTC) Received: from mxback1o.mail.yandex.net (mxback1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1b]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 5517A4082BD2 for ; Wed, 18 Oct 2017 08:00:18 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback1o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3UDioWD2ES-0ISWEEBs; Wed, 18 Oct 2017 08:00:18 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0HN4IJtb; Wed, 18 Oct 2017 08:00:17 +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: Wed, 18 Oct 2017 08:00:03 +0300 Message-Id: <1508302806-20268-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 7/10] example: add ${EXEEXT} when calling compiled programs 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 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ example/Makefile.inc | 2 ++ example/l2fwd_simple/l2fwd_simple_run.sh | 3 ++- example/l3fwd/odp_l3fwd_run.sh | 2 +- example/packet/pktio_run.sh | 8 ++++---- example/switch/switch_run.sh | 2 +- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/example/Makefile.inc b/example/Makefile.inc index 12edc46c0..1609066e6 100644 --- a/example/Makefile.inc +++ b/example/Makefile.inc @@ -1,3 +1,5 @@ +TESTS_ENVIRONMENT = EXEEXT=${EXEEXT} + LIB = $(top_builddir)/lib LDADD = $(LIB)/libodp-linux.la $(LIB)/libodphelper.la $(DPDK_PMDS) AM_CFLAGS = \ diff --git a/example/l2fwd_simple/l2fwd_simple_run.sh b/example/l2fwd_simple/l2fwd_simple_run.sh index 130a3a848..089d9f97d 100755 --- a/example/l2fwd_simple/l2fwd_simple_run.sh +++ b/example/l2fwd_simple/l2fwd_simple_run.sh @@ -9,7 +9,8 @@ PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit` echo "using PCAP_IN = ${PCAP_IN}" -./odp_l2fwd_simple pcap:in=${PCAP_IN} pcap:out=pcapout.pcap 02:00:00:00:00:01 02:00:00:00:00:02 & +./odp_l2fwd_simple${EXEEXT} pcap:in=${PCAP_IN} pcap:out=pcapout.pcap \ + 02:00:00:00:00:01 02:00:00:00:00:02 & sleep 1 kill -s SIGINT $! diff --git a/example/l3fwd/odp_l3fwd_run.sh b/example/l3fwd/odp_l3fwd_run.sh index 6f0b11a04..dff3afd71 100755 --- a/example/l3fwd/odp_l3fwd_run.sh +++ b/example/l3fwd/odp_l3fwd_run.sh @@ -11,7 +11,7 @@ PCAP_OUT="pcapout.pcap" PCAP_IN_SIZE=`stat -c %s ${PCAP_IN}` echo "using PCAP_IN = ${PCAP_IN}, PCAP_OUT = ${PCAP_OUT}" -./odp_l3fwd -i pcap:in=${PCAP_IN},pcap:out=${PCAP_OUT} \ +./odp_l3fwd${EXEEXT} -i pcap:in=${PCAP_IN},pcap:out=${PCAP_OUT} \ -r "10.0.0.0/24,pcap:out=${PCAP_OUT}" -d 30 STATUS=$? diff --git a/example/packet/pktio_run.sh b/example/packet/pktio_run.sh index 3adb2d62e..122418b6e 100755 --- a/example/packet/pktio_run.sh +++ b/example/packet/pktio_run.sh @@ -12,7 +12,7 @@ PCAP_IN_SIZE=`stat -c %s ${PCAP_IN}` echo "using PCAP in=${PCAP_IN}:out=${PCAP_OUT} size %${PCAP_IN_SIZE}" # burst mode -./odp_pktio -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 0 +./odp_pktio${EXEEXT} -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 0 STATUS=$? PCAP_OUT_SIZE=`stat -c %s ${PCAP_OUT}` rm -f ${PCAP_OUT} @@ -24,7 +24,7 @@ fi echo "Pass -m 0: status ${STATUS}, in:${PCAP_IN_SIZE} out:${PCAP_OUT_SIZE}" # queue mode -./odp_pktio -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 1 +./odp_pktio${EXEEXT} -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 1 STATUS=$? PCAP_OUT_SIZE=`stat -c %s ${PCAP_OUT}` rm -f ${PCAP_OUT} @@ -36,7 +36,7 @@ fi echo "Pass -m 1: status ${STATUS}, in:${PCAP_IN_SIZE} out:${PCAP_OUT_SIZE}" # sched/queue mode -./odp_pktio -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 2 +./odp_pktio${EXEEXT} -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 2 STATUS=$? PCAP_OUT_SIZE=`stat -c %s ${PCAP_OUT}` rm -f ${PCAP_OUT} @@ -48,7 +48,7 @@ fi echo "Pass -m 2: status ${STATUS}, in:${PCAP_IN_SIZE} out:${PCAP_OUT_SIZE}" # cpu number option test 1 -./odp_pktio -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 0 -c 1 +./odp_pktio${EXEEXT} -ipcap:in=${PCAP_IN}:out=${PCAP_OUT} -t 5 -m 0 -c 1 STATUS=$? PCAP_OUT_SIZE=`stat -c %s ${PCAP_OUT}` rm -f ${PCAP_OUT} diff --git a/example/switch/switch_run.sh b/example/switch/switch_run.sh index d9aa8bd06..9a8e8480a 100755 --- a/example/switch/switch_run.sh +++ b/example/switch/switch_run.sh @@ -19,7 +19,7 @@ do RX_PORTS="${RX_PORTS},pcap:out=pcapout${i}.pcap" done -./odp_switch -i pcap:in=${PCAP_IN}${RX_PORTS} -t 1 +./odp_switch${EXEEXT} -i pcap:in=${PCAP_IN}${RX_PORTS} -t 1 STATUS=$? if [ "$STATUS" -ne 0 ]; then echo "Error: status was: $STATUS, expected 0" From patchwork Wed Oct 18 05:00:04 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: 116195 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5660736qgn; Tue, 17 Oct 2017 22:03:41 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TZP0mPo//Ja6YWmvAoQfy7VbiWUL1NRsgUAWgLaC+Z0Laf8WHRMo3YUI5CBZ3VtWbcLNY5 X-Received: by 10.36.48.78 with SMTP id q75mr4559456itq.61.1508303021883; Tue, 17 Oct 2017 22:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508303021; cv=none; d=google.com; s=arc-20160816; b=SDlEZhmYjeTbuRFc0l7yJ9w13ocskOu+x+HJVcv7K4I5eR17xgkCa6yjXyfIX7sec6 ELvCyBjnIXx1FLt0QpVoEj1z7gY+a1EgfnCnDrRMJ7MYNbm9S/X0nprXuK9BTHCviGTr TNNbx7BkF+tnb/xfaMj/rxTzZ26BDlju4bvn14qhAVeK2vw65P00TwO6wGIl8VqDXcpH c8E5eGhRJcmVVoAsZHgCgPKOIWHOyeGef9U3AIk9SfSf7qsCn6pJ0bk6uUoIKHjik9mL a2iKO9BT1CTNBYaFq2s80+5Kkzxrg6VK7kF5XlfV5TlppbjFU+GmI1x5czgb66NfyZMS rPhA== 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=xAu9xiU2JUrNqJksp8lxoNlFWk4mDk0P2QlZFq8pvtY=; b=sxIcMRgzbQDRFdrXqmbNCqU37ZJGVZz1FSN08jsbUdIo4C/sojdY97bcohbcBMjYi0 eQCxeQ1F0o0l4efdL9DTWlXDIhxd4HkWtlZLzEMBgGzPGDidhF3E2Bq1FTARJBWp1MLs uwmXQzfEVv2tMdxnQfrcnlbDmECnbruU7jEBx7i6qfWxyufgieOaowv1NcYkK4TOMOZ/ x2aBAoOnPjyKT5POYBbG00Mwgbyk0cG1marvx1cFg4KssP0XJuWojku5JsGYGtxGRXch kZ8GsFPRhkOqEB53VATl4/zWxsIChM4m0+EcQ+3avgDFdPsO9MqaHivIBEh8FyqqvxCF 318A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id u34si8259244ioi.320.2017.10.17.22.03.41; Tue, 17 Oct 2017 22:03:41 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 6E5A462AC0; Wed, 18 Oct 2017 05:03:41 +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,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 26983628C5; Wed, 18 Oct 2017 05:00:39 +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 DB5A562295; Wed, 18 Oct 2017 05:00:23 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id AB2B0622A7 for ; Wed, 18 Oct 2017 05:00:19 +0000 (UTC) Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward105p.mail.yandex.net (Yandex) with ESMTP id B8B9A4083F1F for ; Wed, 18 Oct 2017 08:00:18 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback18j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id CNXdNv48nV-0I3SRWjk; Wed, 18 Oct 2017 08:00:18 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0INafmd2; Wed, 18 Oct 2017 08:00:18 +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: Wed, 18 Oct 2017 08:00:04 +0300 Message-Id: <1508302806-20268-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 8/10] helper: add ${EXEEXT} when calling compiled programs 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 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ helper/test/Makefile.am | 2 ++ helper/test/odpthreads_as_processes | 2 +- helper/test/odpthreads_as_pthreads | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am index 620c1673e..8eee643be 100644 --- a/helper/test/Makefile.am +++ b/helper/test/Makefile.am @@ -1,3 +1,5 @@ +TESTS_ENVIRONMENT = EXEEXT=${EXEEXT} + LIB = $(top_builddir)/lib #in the following line, the libs using the symbols should come before diff --git a/helper/test/odpthreads_as_processes b/helper/test/odpthreads_as_processes index 89405f363..01d658836 100755 --- a/helper/test/odpthreads_as_processes +++ b/helper/test/odpthreads_as_processes @@ -11,4 +11,4 @@ PATH=.:$PATH # The odpthreads test recognise the "--odph_proc" option to create # odp threads as linux processes: -odpthreads --odph_proc +odpthreads${EXEEXT} --odph_proc diff --git a/helper/test/odpthreads_as_pthreads b/helper/test/odpthreads_as_pthreads index ef569c3d4..cd68a9e9e 100755 --- a/helper/test/odpthreads_as_pthreads +++ b/helper/test/odpthreads_as_pthreads @@ -11,4 +11,4 @@ PATH=.:$PATH # The odpthreads test without the "--odph_proc" option defaults to create # odp threads as linux pthreads: -odpthreads +odpthreads${EXEEXT} From patchwork Wed Oct 18 05: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: 116198 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5662687qgn; Tue, 17 Oct 2017 22:05:58 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Rnew1nsQAXLaWLWJHhhbx9GqNpURmrsaLoMXdbZq/wjCjgOawUYKFli8ke2xmBZwDpS6Vi X-Received: by 10.55.116.70 with SMTP id p67mr891631qkc.133.1508303158046; Tue, 17 Oct 2017 22:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508303158; cv=none; d=google.com; s=arc-20160816; b=LGekl5UjRyb6n6LjLfAk0sMGcYDDxauYrIHFv61glFo23UqYJIP8ilI8SZ1kpf6OmM TzaLMAKRFuztvWZsTVXVKGUnwscdevhScRrgO7VsMTI900M84avykB7xiZEYVhhOOlKm 5GtlPWgGDYuOarjpfiIyBlF5VjC9R0XrGNCm2S7OiC7g5mKsXJ+DenfoKDRWrajY90+9 gjucJh6Zy9UBhNE5ZenK+H0eOOWTN/RVdD1mpnueqoBxyLysFyxfu/Q5GBT/lpQToMox 5ow4GWLGRBJrEt8fAiojyKZ6llGR2NuOZdS9XZ0OWEWyqlgJza8XoLxz2YP3ShTydg30 FvEw== 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=PffSyXXcI6PLuHMVM1E5B716j9IA7aLtlaY9fyqwD2E=; b=Cbqtp+d7VnWM7mbhLbV6hsMDTPuWGHiJeG7ykmsqUKGDKOxugnMID7R3eUhO4ujZYU 4u0/5m66LfkOHwajiFY55mg6n+sCGX3fUCeyt3VdIqKP9pifMXWWOI5tdavFEnrucb9h T8RKsWbBOAVs9TZptTba2dv8oY7bJhbwfft0pfWhV23Kj4PXuuw6wgMJBRb8EX+kNWDO WfchAPVM4Zyq5bC+eqihYtEznDv0GdyVJtmS4NL1pfkK7kv8VbXbsdTh7suKlFGpEKKZ HQNIEU8i+VXWEtwihNEnD4mbNSEIocTbmlZzmtxqM/VtQwMoy0TwaXjKNsSYvjBlsa0Y xV2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id 15si177980qky.264.2017.10.17.22.05.57; Tue, 17 Oct 2017 22:05:58 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 BF8E362C7F; Wed, 18 Oct 2017 05:05:57 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 10822629C8; Wed, 18 Oct 2017 05:00:59 +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 B1A98622E6; Wed, 18 Oct 2017 05:00:27 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 52170622AC for ; Wed, 18 Oct 2017 05:00:20 +0000 (UTC) Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 19FB31835ED for ; Wed, 18 Oct 2017 08:00:19 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback4g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id xEzMsT8014-0J8KZwoJ; Wed, 18 Oct 2017 08:00:19 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0INGmd2w; Wed, 18 Oct 2017 08:00:18 +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: Wed, 18 Oct 2017 08:00:05 +0300 Message-Id: <1508302806-20268-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 9/10] linux-gen: use ${EXEEXT} when calling shmem_linux test 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 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ platform/linux-generic/test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/test/Makefile.am b/platform/linux-generic/test/Makefile.am index 1f4910ad2..97784a02c 100644 --- a/platform/linux-generic/test/Makefile.am +++ b/platform/linux-generic/test/Makefile.am @@ -6,7 +6,7 @@ SUBDIRS = performance if test_vald TESTS = validation/api/pktio/pktio_run.sh \ validation/api/pktio/pktio_run_tap.sh \ - validation/api/shmem/shmem_linux \ + validation/api/shmem/shmem_linux$(EXEEXT) \ ring/ring_main$(EXEEXT) SUBDIRS += validation/api/pktio\ From patchwork Wed Oct 18 05:00:06 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: 116197 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5662248qgn; Tue, 17 Oct 2017 22:05:26 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TGViNGXjKroOvCy7NMbsbbeFOheMBAtQtPAjHFzMIHqXj3/nEDTxESFiqkLWojiyVbpPVE X-Received: by 10.55.16.220 with SMTP id 89mr893575qkq.286.1508303126042; Tue, 17 Oct 2017 22:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508303126; cv=none; d=google.com; s=arc-20160816; b=l0y6nEpfS/8D6azEo0IItopaSwUgwkTbWdtJkNNgQsxHIOvH361kj+BbPqrsYiKM6P ZgiaGSpMPYA90qNEGpa/v4KKqUt8UqwyhlIZZ+HaJtXY8vntHXLbI5JeXN/A/+70mlFT 2OmNEHjVkhs2VEPGawq5za4xsEgk4xeLhbMEQTQTkXQaneLwr2LisE6c3SwnSrf2qf5r TIh/7yvs/6Xpsp8+XIQ4rHKTBTKTMDxgm5d9YGS3XfOeUla+5VxxnWhS+MELAbIT7uB7 MFnHOInqd9yfYFladu8qKycPtHOk4ELcLrY6vrzKLsrh37OWDgbn4tFkX5DN8uabwUUq 19NA== 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=x1W+UvPUGS5TE40aNWTa1G0L61IcVzMWjkzk0Vqfkvo=; b=M6o0PdHnh6K37FRvoHOtZjTj3HlaNekktkrYPC8+Cw6BpYcLMLKKThtTIi294eFp4Y TAE/qkzxHbouWFXCXHYL0tdkuveeFN4RuTu//W6CoysWIxDovgsodNYZ4C5nBC+6pC08 1GuKQIDExtDInZ9okW8FiKTPDuhOkV/u/g2w7SmGERW47U/a7I13riyGlhavGccXAlQl p2nIiwCRD6FWmzMKa0gWSPeQKpTdbiaRF9yaXtWTwR+ahZVc5eFlcO2Zgru1o6n/9foa y48Y3u/LPCwmx+AN8pXKBWiH0pKwGhwR1GnK7GX8xmZXpWn5JY2nMSxpCPOEXlgIIIDz wfXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id m123si4580187qkf.78.2017.10.17.22.05.25; Tue, 17 Oct 2017 22:05:26 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 BB20F62C3D; Wed, 18 Oct 2017 05:05:25 +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, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 B55576299D; Wed, 18 Oct 2017 05:00:49 +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 28428622A7; Wed, 18 Oct 2017 05:00:26 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id A66CC62297 for ; Wed, 18 Oct 2017 05:00:20 +0000 (UTC) Received: from mxback11g.mail.yandex.net (mxback11g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:90]) by forward106j.mail.yandex.net (Yandex) with ESMTP id A882F1802BF3 for ; Wed, 18 Oct 2017 08:00:19 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback11g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Y9EPGc03MB-0JN8dn3X; Wed, 18 Oct 2017 08:00:19 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 27A3ttiSEF-0JNGoWOp; Wed, 18 Oct 2017 08:00:19 +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: Wed, 18 Oct 2017 08:00:06 +0300 Message-Id: <1508302806-20268-11-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> References: <1508302806-20268-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v3 10/10] linux-gen: use EXEEXT in shmem_linux test 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 Use EXEEXT environment variable when calling test programs during shmem_linux test. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge commit sha: c7d08f738718f049cece37227820be39f1274875 **/ platform/linux-generic/test/validation/api/shmem/shmem_linux.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/test/validation/api/shmem/shmem_linux.c b/platform/linux-generic/test/validation/api/shmem/shmem_linux.c index 10bbb6a47..7f0343cfd 100644 --- a/platform/linux-generic/test/validation/api/shmem/shmem_linux.c +++ b/platform/linux-generic/test/validation/api/shmem/shmem_linux.c @@ -218,10 +218,14 @@ int main(int argc __attribute__((unused)), char *argv[]) int app2_status; uid_t uid = getuid(); char *shm_dir = getenv("ODP_SHM_DIR"); + const char *exeext = getenv("EXEEXT"); + + if (exeext == NULL) + exeext = ""; /* odp_app1 is in the same directory as this file: */ strncpy(prg_name, argv[0], PATH_MAX - 1); - sprintf(odp_name1, "%s/%s", dirname(prg_name), ODP_APP1_NAME); + sprintf(odp_name1, "%s/%s%s", dirname(prg_name), ODP_APP1_NAME, exeext); /* start the ODP application: */ odp_app1 = fork(); @@ -292,7 +296,7 @@ int main(int argc __attribute__((unused)), char *argv[]) /* odp_app2 is in the same directory as this file: */ strncpy(prg_name, argv[0], PATH_MAX - 1); - sprintf(odp_name2, "%s/%s", dirname(prg_name), ODP_APP2_NAME); + sprintf(odp_name2, "%s/%s%s", dirname(prg_name), ODP_APP2_NAME, exeext); /* start the second ODP application with pid of ODP_APP1 as parameter:*/ sprintf(pid1, "%d", odp_app1);