From patchwork Tue Oct 17 18: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: 116155 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5234989qgn; Tue, 17 Oct 2017 12:01:13 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TCQUsrd0nU+jGZ4qdoYItj4kM1pYsQOYCOVX2ufcT/PtvNCn3XZ0HWiebyvsq28a/NuW3q X-Received: by 10.107.18.67 with SMTP id a64mr19783826ioj.165.1508266872973; Tue, 17 Oct 2017 12:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508266872; cv=none; d=google.com; s=arc-20160816; b=zSoOyrVr7TYLA97CXNa71u3vIQnvNQcZVrpY0TDhy4DQpOrgHqjvn/g4zeHO19TEff 9tHZ2csOZW5p3Vh9JsQ4rji00/3JWN7fddZeqw0+DNcMobTDZP8Hks9Br9plsmRuqmuz gS958JlZ5Nj/ffHCZKu62jCZqLswybGwkB1OW+Qi8J6jx4PCvloVG8SGy3GdfnJV9nxH HaSjge7/imWoJPSQN4OZNS2CeHH8b34Bw1xjo5Yhj+YeYMEm9beCNQrUbTLh4yhCRe8Y 5qYSSh/EfwBS9WfCkM+hppvh9uIPu5OmSI6h0KD+q7i/TZpy5HJ6uj2k/V0tQwA7srBF 4b4Q== 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=vTkAZBD8oHk3kKNRaxQRFzfTlZ/3AsR064G7yHj2ALM=; b=RdBfRJcvsnpyTzkJHM8cxGVTNNNRL0qnHnXFImWSf3tmaboT5XgrfOELuLVLP1oI4B 96Vp73h+BRmnLb5x9yREl7omXbGL5IZnTyvIhjw6TenZ+3+/9MGwEfnGNzOf6k5Lq2H4 oqCqKA5JQt+8iU9BptaOv+yHlDgeaNcbnGfrVI2dtBdWBNriODSdZsvVI/4O2eauB0hR Bq+bmEEh7wxhKb6Z/gkKw/s6A2Z0ga6hG/WfNkOv40k/EU/yRdcWkaOrTzSVdbg3BF+j aVCB29DcgVFohU1ZNxy6zs6neBSjPLIkFtNGS+hYCzV3UwSJmU3vXhKThuH3epZrb337 9WYg== 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 z23si7488499ioi.311.2017.10.17.12.01.12; Tue, 17 Oct 2017 12:01:12 -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 85CCD628D0; Tue, 17 Oct 2017 19:01:12 +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 BBBCF628E0; Tue, 17 Oct 2017 19:00:21 +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 22FBE628B5; Tue, 17 Oct 2017 19:00:15 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 5EFF9628A9 for ; Tue, 17 Oct 2017 19:00:13 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward100o.mail.yandex.net (Yandex) with ESMTP id C7A992A222BC for ; Tue, 17 Oct 2017 22:00:11 +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 DGvEwF23sa-0BSiaWpB; Tue, 17 Oct 2017 22:00:11 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0BuK7jDg; Tue, 17 Oct 2017 22:00:11 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 17 Oct 2017 21:59:57 +0300 Message-Id: <1508266806-12588-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ 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 Tue Oct 17 18: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: 116156 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5235729qgn; Tue, 17 Oct 2017 12:01:47 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Qs528Nv9GYy0kQo2oEh4ZrlyvzHe0kGl8YaixDa8D7LrkPhiByDPRCh99YKwh3YLxaP1xD X-Received: by 10.107.183.73 with SMTP id h70mr18100912iof.76.1508266907786; Tue, 17 Oct 2017 12:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508266907; cv=none; d=google.com; s=arc-20160816; b=ElkPL1+XWvp/SzGtDF/fiDcmt419PgNsP8NgbW2OHThy6IeBNr//2f3nasBFo1Jp3J ZIA7k4OzOdn1Zi9XXCoxEBvNqFbvs2ae5z3Zvl75li8Ceo/kcll4Nspny0gEFxJYtJHP mO28GfwQsTKHtjazmuN4YlkvF+y6jO/zekOJdD3tdkz84FP2gpzq/Q+oEphzX+fg0Hb6 84cEubeTVD6M8cynVz24Wz0ymtTyycUzFPn6GVMSVqccP3VqHApu0TGEhPTMp6rOXBQ6 AQvi9JIs7qu3ujML3680bnF6P8pT2t+Qn9Ra95BAM7MFhynckMSNoK/7GkQdZsJRqKO4 P+uw== 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=3Pv55zNSYXsZG3ESbgZek6CFJxuUN0fq2HJo3pwBdpU=; b=aHp9NS4Ddhw4zesvFh9TgEPV6ePQlEXroQIEtwuwZFzr4yUUetp8zdpzjpRQvpV4Pn Xzr4qZ66FtgYSG8Z2lub0If7wEuFmL6pvfLuI5+HrGGr+zAsdASWoMYRJbABuZsrNGUM J+5AHG7MBya7j1bfsRL8tRnxUM8c4f7tDWRnfOtPlmFoEqpAYOHJV7GWGP0gp/Ot1uUj a7+1WrokGTtbGK0x81l92bUs3D6jIIxDs7+xnfw9SPjQdH+e3JcwPob4Qw2rMFbObppI 9w57tzSGVYrDbj+GMbkX020q7jKFzW3rIOx49H9wbN7qsI+SQeJJKLhPjUlTsqoj77fk Ed+g== 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 m13si7637149iti.12.2017.10.17.12.01.46; Tue, 17 Oct 2017 12:01:47 -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 B576D62A79; Tue, 17 Oct 2017 19:01:46 +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 35234628C0; Tue, 17 Oct 2017 19:00:24 +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 1A719628C5; Tue, 17 Oct 2017 19:00:18 +0000 (UTC) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [37.140.190.177]) by lists.linaro.org (Postfix) with ESMTPS id C4701628AA for ; Tue, 17 Oct 2017 19:00:13 +0000 (UTC) Received: from mxback7g.mail.yandex.net (mxback7g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:168]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 5A0325883380 for ; Tue, 17 Oct 2017 22:00:12 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback7g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 6thZ1jnqLD-0CkqtAnP; Tue, 17 Oct 2017 22:00:12 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0BuaecrK; Tue, 17 Oct 2017 22:00:11 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 17 Oct 2017 21:59:58 +0300 Message-Id: <1508266806-12588-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ 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 Tue Oct 17 18: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: 116157 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5236563qgn; Tue, 17 Oct 2017 12:02:25 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDTCHB2k8fsVyg5Epr0aJt0bAyhUaDuPprsvFASfDYq5hxvsSz/kTdZ/sHooKn0v5K95Jp8 X-Received: by 10.107.42.10 with SMTP id q10mr19329428ioq.196.1508266945783; Tue, 17 Oct 2017 12:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508266945; cv=none; d=google.com; s=arc-20160816; b=KOKUAXaXOgC1JKMRfHeqtLQUONYyQwjgv/Jr7QpMzop9dT3evVf+rtPpW/RQo38brV qBObmVs9KxDAbSZY/tLu0vOdLFMY4QB56Q8sHc18SG1WJ1x4oQaPaX1mURV05aquLG1f 3yaGJ41FpongEv0eNrssMNlmMph9EeqXbF5XdJYab5ZY7E9+mc7KNTNiA2zzZuaK+Uwo lO0brin31D2RGEWIsoU8gqe1w9ZLdofMfPR5wdHn8wkzgvlLb6rVuD/G81pAu24vI1A4 GhpJ1uVK7v+6TxX3YNrFgaoH9guekzab+TXV+WXyrwKE8hYcpntmusKrlNuPK/4jQhaJ ACAg== 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=923wlzRicb6d4WPPh2TRiPIA/GC8K7pUqtCFSzB7vzg=; b=cdS5zlr3sEeo15ZW0xDMC+79v6wjh2bBQRTM11x/OACWDoadiDoyX3mRHRsVeiCXRO v/k+SRUeesDS3zAtnrRUSMtyGqEXdSWVb4AnDqjWAxA/aRtUTYkEn96yadovPP9Ylei1 uxCUOGDT7+4RPMm5QRKThbXesEBoV57FIckeAm0nAxezoWM70x7BLUTmqp9X9gxaxidD 8GUHu7f1N8lULUJRuXEjp4HslCyq0pNg1Iz21uvAj6xD5vf0ejASPASpRYaFZpYgSP7E ytkb32qiD9Cz8TdIDP2BpwkOjYewf7+HxBivtg48DbQGHU/XxieJaLhCRBfsOy/oAHfw KXaQ== 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 67si7429095iow.284.2017.10.17.12.02.24; Tue, 17 Oct 2017 12:02:25 -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 AA8DF62A83; Tue, 17 Oct 2017 19:02:24 +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 A21FA628BC; Tue, 17 Oct 2017 19: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 0FC85628C3; Tue, 17 Oct 2017 19:00:18 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 52340628AF for ; Tue, 17 Oct 2017 19:00:14 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward100p.mail.yandex.net (Yandex) with ESMTP id D3A5551039D6 for ; Tue, 17 Oct 2017 22:00:12 +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 xlxpfY92l2-0CiaEuLK; Tue, 17 Oct 2017 22:00:12 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0CuK9Nkr; Tue, 17 Oct 2017 22:00:12 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 17 Oct 2017 21:59:59 +0300 Message-Id: <1508266806-12588-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ 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 Tue Oct 17 19: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: 116158 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5237449qgn; Tue, 17 Oct 2017 12:03:12 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCcUPSN5GHJoaVdnA8oSXZ/8AxO8jEj3p+cFbTBNXHta8C3yr2yNj6GSNfCnsbXLEfDCp5r X-Received: by 10.55.198.209 with SMTP id s78mr18192713qkl.143.1508266992749; Tue, 17 Oct 2017 12:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508266992; cv=none; d=google.com; s=arc-20160816; b=yKMNyDrqCcVgsPzkyJK+Jq3unPKl4GNdnHAs6HJZgc//VS9ycRByMiyYU9qVMJqG4k kPlJFbGq2CnAYZF357qvOQbCBUsDAJM4Zsz/ghUtCP/+oyWAmgNE3vyzfKdLG3HBeQ1Q k5mVmF8VOWdgWIuzPX4j/KVhqC7RNy8ZOPQhhztiv56uMyXgNP0vVJB/BRSk7PpJra9S v/Vu08EL+/s4Xfa/BmU7wSJYUgpBiRNnoM/1bzzNybRzexhKq4YDlbMhj8qLxrFN53OB QE/fUMac3Ntv/XLUkLsYmBpwS24BiF00/XvjpRbJq3im8LA06HQ3UFJEoc78w9nUFO2O STYA== 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=2BY2qdsyllwA84b78xIHv/Pdb9yYJ/61UModPGtk2c4=; b=RcIjrrNGMlb2OKrb3S5bjb4hp2h9BHnE9d37/fF6Jef//cuAEpGzUs/IynVr5crXn7 Hc9pABBWtoYpVSR+48LzFNdNZMzFbIKjc+uwsVNs9o04a0e41uoHJZoiUr8C6U+rW1QR gcKn05AhMO9kq2Lohnwif8E3rPBjjm2OBJniu4UqE2872ZYvY+/ERAsbZMHAhyclyAti 7Io87lnujWCvYYp78TZMJvGF76hqPwunt5vQ3pptV/hbn/pkl9/zZKqLRCphytBkzYd+ bGjRFhDPDpSnoA4d3kvTLoCmaC/Pxjg/F2iYoRPq+mLCz7De7SE+3mPXPXk9ivim1g0y t4cw== 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 k28si3306964qkh.430.2017.10.17.12.03.06; Tue, 17 Oct 2017 12:03:12 -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 6471562AE9; Tue, 17 Oct 2017 19:03:06 +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 02D43628FE; Tue, 17 Oct 2017 19:00:27 +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 169E2628DF; Tue, 17 Oct 2017 19:00:19 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id DD84C61E02 for ; Tue, 17 Oct 2017 19:00:14 +0000 (UTC) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 52E382183F2A for ; Tue, 17 Oct 2017 22:00:13 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id j4FWPVjLvz-0DE8e4wO; Tue, 17 Oct 2017 22:00:13 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0CuWY5L3; Tue, 17 Oct 2017 22:00:12 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 17 Oct 2017 22:00:00 +0300 Message-Id: <1508266806-12588-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ 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 Tue Oct 17 19: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: 116159 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5238232qgn; Tue, 17 Oct 2017 12:03:52 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SY7b+jfnpOl4L3pxb8yC+5rvaV/75vC4W4OKF/uFpC0xxBcoBS8joexZcRerpQVrCGeRQO X-Received: by 10.37.160.145 with SMTP id y17mr3203105ybh.470.1508267032161; Tue, 17 Oct 2017 12:03:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508267032; cv=none; d=google.com; s=arc-20160816; b=zC36+4zh52Md+YR2c42zzsw0eieXz6CnPgIilQpAkmrPHetsPRg+sI8cD4XnQzeHrp kwpIqYmdaEhQBTTf04S0RNbEICoAsNLi5bypwqcftS5AeVexWAFU3yIkEGL8X5Q0untj b7WiH5FiXHyL92ATR8cq+TPLfTNX4hjw2NX9cG+k3HLDi3PFOEUcAbLuZW4CKFC130DT hLogiULEqVVotepEfbsbPDRa45YO9AFrx9Ov42+4Pf780hBYWbnYjYWd06nv72oUMcM8 JK1Y/im5wz5aNK/PS8naVsJnDvDZpm9NLHBi+3mlfGeQCuzKTx2Dq5/cqc8b1Y3lK99C R+MQ== 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=vYfE2baybQh1DTDGcRX6VCNrqe3D/jhjNTdIFdr1L9Y=; b=oAIWdkPDIjiXPVMXRo3wzctMR+uZccRLnQ8MjBnfdOzYSYgDLbmI7tK4E+Y7JS+XFc jobVV1x193Bjv/S1fNd/cXAgWJx5Vl+Ep3+HGb0iZE3fcfDLso5MFK7PURIR0LTzAWcp uDwsoikVcMV3Oq0W99XfVNNmkVSt31296Rwqo0msxi1lHz9nqkpLFXSp8CrPJ8tyTQD6 Zh/HscoWZ75/2FlQsEekRY9Kd1YBxE3zOGaET+13GRhVkYIXa0lA50qbR3b66k7DOeW3 DBm4Vx/JsC0CWzy4WWZyxxZilTZb99UYU092t/5DPpI9R7YPjusIReIhDHhw4uS8Mjb9 hJ1g== 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 v87si4499973qkl.66.2017.10.17.12.03.51; Tue, 17 Oct 2017 12:03:52 -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 0D20F62B11; Tue, 17 Oct 2017 19:03:51 +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 559D56291E; Tue, 17 Oct 2017 19: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 38745628A9; Tue, 17 Oct 2017 19:00:21 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id 743D2628A9 for ; Tue, 17 Oct 2017 19:00:15 +0000 (UTC) Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10a]) by forward104o.mail.yandex.net (Yandex) with ESMTP id E49247039FC for ; Tue, 17 Oct 2017 22:00:13 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback1j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 4LMYktggdp-0DEqt4g6; Tue, 17 Oct 2017 22:00:13 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0DuKAAL4; Tue, 17 Oct 2017 22:00:13 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 17 Oct 2017 22:00:01 +0300 Message-Id: <1508266806-12588-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ 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 Tue Oct 17 19: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: 116160 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5239538qgn; Tue, 17 Oct 2017 12:05:04 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QAGhsivitjaghKrWOz/MH1QuQkA/qR8Zo5CJBwP69JAuEnaUGIdQ99P4Pc3cOxidpaHwd3 X-Received: by 10.36.189.202 with SMTP id x193mr7331066ite.44.1508267104534; Tue, 17 Oct 2017 12:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508267104; cv=none; d=google.com; s=arc-20160816; b=gJwI5zTrafGQfKrv5nJTdTV60BuJr5DVEhbi58WUUJZhoxMXnkjZmLx3h3zxBEoJ42 Lm7pVZY1uCnOD94D/HceO7xFSGnaRxn/rmD7+xKVGcXf1ElZ2gfhzW2rf0JwkVvj3gYU JQFCfGeytJP/XEF/z/v75mRV/lv/pEPL3uEOWfRGvG843OGq184+NdU077mJoqQWsKDs UspwlKUPAdAkLt+toz9gBV5ZrkRYX+DhHealah8OjCf1eZByf/JegaVCShymSO0A+SYR quT1ygf11kY02sn+2r+1TvIyBLFCpN0EGOUF8WjQk/2Hb2BC02sPb0yqwtbvObg3jzzH arCA== 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=SCu+swshhIfocJEbCgEQoO+MnlitT963SSh0Rk34ecU=; b=kfu4QRNcFXeJ/pkd3UEr5OesWKBvuwW4NIGbuYYcmiMxgeuPGAuR4ucohSbyZB3nqe D65hbVUk+ierG0e32AXspb/YLttJhyrXeYsssc1nEb7v3ADIVc4GCvccDZbVtCuLRiXp ERYINrWDiiifRRxN6yDS2YszmCEFOR7NiaODM4CTFCxouP74sZMhFyIISJOyfa74ypfL 6Zp6zkvx3eSk9RZ557myXLMBpYpEwls6nw36UpMjwgZrlO1PwdpOUebUyIJVTzz4/yFP +tXkPb4KVQVCS97uO6WpAnssaR2HvDEpRNRKnSw6GNUYoCsvjnRgSOpBbTikv8ntTvVd 9dOQ== 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 o186si7758225ith.138.2017.10.17.12.05.04; Tue, 17 Oct 2017 12:05:04 -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 086506298E; Tue, 17 Oct 2017 19:05:04 +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 97DE9628C2; Tue, 17 Oct 2017 19:00:38 +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 040D3628F2; Tue, 17 Oct 2017 19:00:21 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 650BF628B5 for ; Tue, 17 Oct 2017 19:00:16 +0000 (UTC) Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net [IPv6:2a02:6b8:0:1619::93]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 959FC5A02D7F for ; Tue, 17 Oct 2017 22:00:14 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3NT30xSwIS-0Esa11Gv; Tue, 17 Oct 2017 22:00:14 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0DuKmHq5; Tue, 17 Oct 2017 22: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: Tue, 17 Oct 2017 22:00:02 +0300 Message-Id: <1508266806-12588-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ 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 Tue Oct 17 19: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: 116162 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5240767qgn; Tue, 17 Oct 2017 12:06:15 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SyTkkj6fpnQkkhpF9Is8INkd4uekxlK1051HjsuF/NQ7UxBZ0X+nKKCdsMMdsRN1E1f9nU X-Received: by 10.107.163.15 with SMTP id m15mr18015604ioe.61.1508267175431; Tue, 17 Oct 2017 12:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508267175; cv=none; d=google.com; s=arc-20160816; b=PPND719MpWa1vJLDa61CzCRJzJUgKTFMN4+uM6Xvcp+16USqtHonRNh8TKNeDMKFUI 0UWN9ceEAatgkGaYKeQhdR18Gmb1vPeuGeEI+tUZjWAX6RBCMK0MmAOwXRDNT0h6CcNR +GSolP/tdHIJ/volDBHYZ3HObdLHZaPjRtFvXhmWNbi92jYHH0rrvBXXsOt9/rrrI9RS WsQ2WeJy1jPQBtYT+8ZndVsh0uNZ80KRS+ym4l97vAf5/VgvHhsFqQQ272w5bVaqYiXH 0mDgkWZ6tCnuAI6E9PHUn6tt385WU5p48Cj9R8pIem2mfrMHnxVwrWWm4VzRveUfE/os aHhw== 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=vFry+SsN9Oq6V3oZxJOUc822OuJjUU/eDEQNqmfZb7M=; b=hVRdkVCMEqJ1REPtg2oR7CMOhCB4iA9xefofAUXPxV+wiW91zelDjARSOehM0h/8RA h1wKVVzDfR89CERMNEgMY5W4vhEqMA+MlrVqaAYz+8D0Aa99azm9UMqBpVvJjf10Zvrp kFTgCrPFhDyl898uGOqWm1zFqbkdFr+YQxw2aPFYaGJpmROUjE37nrjNGIxb37eHe7n3 BvdjC/fE6kCEuk5pMOvYl7xdOocqFt58nvwyr7plgi0UHOssYFDyAa8WGwzOabgJtHKJ Dxw7qRVxLjjhA8iOoHSPn11W3YyOUxIXRAOQzN9ahyFo5V7Feqocm0THIlAnmTfYUXjV 7h0w== 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 k186si7248955ith.34.2017.10.17.12.06.15; Tue, 17 Oct 2017 12:06:15 -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 08AB46292F; Tue, 17 Oct 2017 19:06:15 +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 5E2B862989; Tue, 17 Oct 2017 19:00:50 +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 6C5D2628FB; Tue, 17 Oct 2017 19:00:26 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 2DA1A628B0 for ; Tue, 17 Oct 2017 19:00:16 +0000 (UTC) Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 2634E51039F5 for ; Tue, 17 Oct 2017 22:00:15 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id tXUSHFNmYI-0FLWHN9Z; Tue, 17 Oct 2017 22:00:15 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0Eu8gOeZ; Tue, 17 Oct 2017 22: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: Tue, 17 Oct 2017 22:00:03 +0300 Message-Id: <1508266806-12588-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ example/Makefile.inc | 2 ++ example/l2fwd_simple/l2fwd_simple_run.sh | 2 +- example/l3fwd/odp_l3fwd_run.sh | 2 +- example/packet/pktio_run.sh | 8 ++++---- example/switch/switch_run.sh | 2 +- 5 files changed, 9 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..bc0d5ab28 100755 --- a/example/l2fwd_simple/l2fwd_simple_run.sh +++ b/example/l2fwd_simple/l2fwd_simple_run.sh @@ -9,7 +9,7 @@ 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 Tue Oct 17 19: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: 116161 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5240137qgn; Tue, 17 Oct 2017 12:05:38 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBB3yV8tGUMp7hqoyFAES/GBc7vRvHTu2WfHJ0MUEukloq3tH5sIjH5fZvgdA34cJwcnX56 X-Received: by 10.107.170.166 with SMTP id g38mr17230787ioj.207.1508267138078; Tue, 17 Oct 2017 12:05:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508267138; cv=none; d=google.com; s=arc-20160816; b=EUtypcrgUj9amkGxGWxjDk1wZTYzGIc/6xWov7ADrAVa+t6clKeahHSuHktyBNv5KZ YcOywexcgqFT9iCTkH/CKLHHh9+KFo9WogjwHFai/dJvc6OGPwtNZFzXW2hT1ElHcQjz S7v8Zkix42rlCKprLqhZsTirRJIZP2fFlg7ikMjsxdH2eCbOVGe8CS7R/6u0B/iAczQc SwNlBU7S/wFwT7SSUlgyj2C1yDq0MyYzJ8lLB3IMnNVXiTDGHS9QUNGUtqKu24AKIx8q o7T2bkrSbs9o5DSZAB5Ib5hioYu5Ah15MPOTM3k/kb0K0j6BnS6idTqNgTWW6hOZi+sW BauA== 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=2Ejk9OaO85A5WN7zZglmGF3oB20CbxNsPgBU0SkqQJ4=; b=qpyuj9ytJyckcRsucmuJTy5jwAG/hLvr7cMHeAAiNnxNIHK0ZKVuZjYAAMoLWS5fja hskoBm4PmofdyIu9njBqbUsMkSgN7CdOg5vdnrwgUQZRg6ecTmtoHcuDyzexny0hZNuB 6nI8VczSTdBV5soC50WqFOgACV97nONUGG8b5HOThyvoYO/2npXH2cetjaBrf7a8BmkT TY8ZaERzY8DrAj6MYGEAi3tTo5GKCSphg2ujI8oDJ3qFDktdZM6Wg7QspcpA63F7wo7r GoS+428U9BU9/7zQ258sm5fWiuCx2UxW9YYvuBUP9KoRlu0TVLRJL8EB853kj82MpNcX NMpA== 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 w64si7594395itf.59.2017.10.17.12.05.37; Tue, 17 Oct 2017 12:05:38 -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 7AB4862B33; Tue, 17 Oct 2017 19:05:37 +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 0F55462918; Tue, 17 Oct 2017 19:00:41 +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 8DDF1628EA; Tue, 17 Oct 2017 19:00:23 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id 2F69D628C0 for ; Tue, 17 Oct 2017 19:00:17 +0000 (UTC) Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10a]) by forward104j.mail.yandex.net (Yandex) with ESMTP id C60D441B0F for ; Tue, 17 Oct 2017 22:00:15 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback1j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id qpA3ZqwAqv-0FEWNPC1; Tue, 17 Oct 2017 22:00:15 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0FuKfWuf; Tue, 17 Oct 2017 22: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: Tue, 17 Oct 2017 22:00:04 +0300 Message-Id: <1508266806-12588-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ 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 Tue Oct 17 19: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: 116163 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5241971qgn; Tue, 17 Oct 2017 12:07:31 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T68hA89EyxX6TSFAm/qnNE0f65OzXlQ8GHsQl+2jOvGeex5rB/VzJlVSwtJnAr1KI+enGp X-Received: by 10.36.92.193 with SMTP id q184mr1092847itb.83.1508267251600; Tue, 17 Oct 2017 12:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508267251; cv=none; d=google.com; s=arc-20160816; b=wxM2qm2ZjkKd+fkx075xw/ROyCw5kljneYdcrTc1bbKYrIxaXDbjd5MxRE7Rvw6jaa G8FLw9FOWR88sjUiyGCnhUSkzNrmrAxMaciqfYXY2xd+Pduv7g4lqRzQrunl3Oijm65a /09bVFN00F3V9k9SHTJMEdWN1UkCCtVbYvtWyBfpG3DRLqVYWB5YEKwxwsHhOnbDztMO 3/+MeXWxLM/3bYWgtKS7YjorDMCQbKCEYCushvqIeWGvLkcudBVLUzViBrdjPxHW5Kvq WOg7M+YVXCp7wzeurpF+aU/cD/XjozXRDdNjxnK9QOU2yRwRVEj4SA2P00v6MQ3nPGbW xisA== 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=13Qx6Ybsy5CP99GKa7W5D82v7L8ZOaOnMH9kKGgDYXY=; b=xPig6BlOU5cCll2oirxmdyRxsnQc5jwxNwl12i0z++KuUZWGVP5bQqjimNmdK7in38 rVhAswJNatgtLOfu+75+0K+c4kLu+aRWyOzJkqqX86KwV6Ob8cjpTzytXrnQ2hz8LiCt j46MONB4xvF8/YYCDiV0frGEKqkZzVqJBaLmPN61TFbq1JSfOKiCbnGqrMK6ZBhx/X9W ubZJy5BpQAf2LJTZTYUNSsgagiXEBZKmQnsk6muiiJTJ4lRRQ9/ALxvaKCSjk1rRkA3u TyuVC9JX1kXTKL7OvmVW4NFsGPTeNtsEVtWZ9XRXs1Ij+oHhMk8MK8PK4wc9EWPed1dx GBJw== 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 v19si7452588itb.157.2017.10.17.12.07.31; Tue, 17 Oct 2017 12:07: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 2F59C62C49; Tue, 17 Oct 2017 19:07:31 +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 A64F2629A4; Tue, 17 Oct 2017 19:00:55 +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 A3AAD62901; Tue, 17 Oct 2017 19:00:27 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 58CA4628C1 for ; Tue, 17 Oct 2017 19:00:17 +0000 (UTC) Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10a]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 460252A22CDE for ; Tue, 17 Oct 2017 22:00:16 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback1j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MJnJhOQmho-0GESoBg5; Tue, 17 Oct 2017 22:00:16 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0FuWZCX8; Tue, 17 Oct 2017 22: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: Tue, 17 Oct 2017 22:00:05 +0300 Message-Id: <1508266806-12588-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ 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 Tue Oct 17 19: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: 116164 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5242563qgn; Tue, 17 Oct 2017 12:08:07 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TijoyJOXVzp4TqAhVhtmtcNRzkAaYleY02sZB1+VlwgZtDASsSQp+UUlWMlzgrck7QAKSm X-Received: by 10.36.18.5 with SMTP id 5mr1114139itp.150.1508267286989; Tue, 17 Oct 2017 12:08:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508267286; cv=none; d=google.com; s=arc-20160816; b=giicjt5MNCblsbPz0TKv73JME8XqECGmzq7PjS0LavygLeaI9nZ+xc0i/Zzxxxxksu /7mxTf5M38XJs2GaHlhydY+OHhQDDcSBfnBb3IZD7bhWW9zHcW5DTHlFTUp4E88TAatk zfZqNvTfmGAnHeDNDs7pTaGEkc+RrzNEk00/VCvveWtkMttta9lqw0rCHgH0zQO9m4re 11eV6r1lqmQyQYKd3/DEcGPY7jJOGW9yDUhKgivBd8AyfaW32FVZ5QTyUyM5c/TQaOS/ bni6Fm2DJRe8bVdOYk5P+y9JFl6DKvoEyw5i5zwlf7tDyhRsmR4WXTOZEUnJ1Aw+M9px MK+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=i69R8nagE0tIAL6BaV7yYz+YZic078HAQ2PWU5gQZHI=; b=YLvia++JYU5L5Kekr44ru8mAHHgXuN6EX22J3PQr4ODKCNIRCpXZcP9ueC9J+7tQwU MK9t70PfAiUS8K/wQdU0J7ny1qQDQGcR5lAdYqhCfHrA6vSVL6O+6CmJjupVUFVnpN/R CVONrqtTaLMSm2oz1XNRtmu1MZhdN+i1lSQU5LE9kT8B9Vp3O1kqdgvOGNL4OBiryGaP 4gTYwncE/VgoZvvoBzb9C9k0gMztBGBEwQibVZ9/6sGNoU0bTFiKNEj2hj2apV7YNISL Hqo2Dm2cG8uW+q5z8ZGY75Cf6RUsZtxtIHG5DXCto9X2xDl7zWpdmrV2EAcW7YXzL0iR ZM3A== 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 r65si7463148ith.105.2017.10.17.12.08.06; Tue, 17 Oct 2017 12:08:06 -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 8170562C60; Tue, 17 Oct 2017 19:08:06 +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 EF221629CB; Tue, 17 Oct 2017 19:00:58 +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 A56C862905; Tue, 17 Oct 2017 19:00:28 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id 182DD628C2 for ; Tue, 17 Oct 2017 19:00:18 +0000 (UTC) Received: from mxback11j.mail.yandex.net (mxback11j.mail.yandex.net [IPv6:2a02:6b8:0:1619::84]) by forward103j.mail.yandex.net (Yandex) with ESMTP id AF23C34C3FA8 for ; Tue, 17 Oct 2017 22:00:16 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback11j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id o7IXZAY4iX-0Gv8jhWs; Tue, 17 Oct 2017 22:00:16 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QgPN3KZgI2-0GuiWptX; Tue, 17 Oct 2017 22: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: Tue, 17 Oct 2017 22:00:06 +0300 Message-Id: <1508266806-12588-11-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> References: <1508266806-12588-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 235 Subject: [lng-odp] [PATCH v2 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: 9783e8a21510c37c97bc377ad9b5b2f83aa4b842 **/ 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);