From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 8502A1B411 for ; Fri, 23 Nov 2018 11:30:37 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E7D8C3082E10; Fri, 23 Nov 2018 10:30:35 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id C5DCB413C; Fri, 23 Nov 2018 10:30:33 +0000 (UTC) From: Kevin Traynor To: Ferruh Yigit Cc: Neil Horman , dpdk stable Date: Fri, 23 Nov 2018 10:27:01 +0000 Message-Id: <20181123102713.17309-57-ktraynor@redhat.com> In-Reply-To: <20181123102713.17309-1-ktraynor@redhat.com> References: <20181123102713.17309-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Fri, 23 Nov 2018 10:30:36 +0000 (UTC) Subject: [dpdk-stable] patch 'test: fix build' has been queued to stable release 18.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 10:30:38 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/29/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From 80f97cf77c56ec0a7e89428cf68ba674cb059d7f Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Tue, 6 Nov 2018 14:35:01 +0000 Subject: [PATCH] test: fix build [ upstream commit fac66b12954d5e00419056a59861ba299fe2c9b6 ] With "make -C test/" command getting following warnings: awk: cmd. line:1: fatal: cannot open file `/cmdline_test/cmdline_test/' for reading (No such file or directory) awk: cmd. line:1: fatal: cannot open file `/test-pipeline/test-pipeline/' for reading (No such file or directory) awk: cmd. line:1: fatal: cannot open file `/test-acl/test-acl/' for reading (No such file or directory) This is because unexpected/invalid MAPFILE param passed to check-experimental-syms.sh There is no easy way to unify MAPFILE for different build options, instead add an input verification to script, and silently ignore wrong values. Fixes: a6ec31597a0b ("mk: add experimental tag check") Signed-off-by: Ferruh Yigit Acked-by: Neil Horman --- buildtools/check-experimental-syms.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buildtools/check-experimental-syms.sh b/buildtools/check-experimental-syms.sh index 5bc8cda17..4ed7ac46d 100755 --- a/buildtools/check-experimental-syms.sh +++ b/buildtools/check-experimental-syms.sh @@ -6,4 +6,10 @@ MAPFILE=$1 OBJFILE=$2 +# added check for "make -C test/" usage +if [ ! -e $MAPFILE ] || [ ! -f $OBJFILE ] +then + exit 0 +fi + if [ -d $MAPFILE ] then -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-23 10:22:55.729009202 +0000 +++ 0057-test-fix-build.patch 2018-11-23 10:22:54.000000000 +0000 @@ -1,8 +1,10 @@ -From fac66b12954d5e00419056a59861ba299fe2c9b6 Mon Sep 17 00:00:00 2001 +From 80f97cf77c56ec0a7e89428cf68ba674cb059d7f Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Tue, 6 Nov 2018 14:35:01 +0000 Subject: [PATCH] test: fix build +[ upstream commit fac66b12954d5e00419056a59861ba299fe2c9b6 ] + With "make -C test/" command getting following warnings: awk: cmd. line:1: fatal: cannot open file `/cmdline_test/cmdline_test/' for reading (No such file or directory) @@ -20,7 +22,6 @@ values. Fixes: a6ec31597a0b ("mk: add experimental tag check") -Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit Acked-by: Neil Horman @@ -29,7 +30,7 @@ 1 file changed, 6 insertions(+) diff --git a/buildtools/check-experimental-syms.sh b/buildtools/check-experimental-syms.sh -index d0915102d..7d1f3a568 100755 +index 5bc8cda17..4ed7ac46d 100755 --- a/buildtools/check-experimental-syms.sh +++ b/buildtools/check-experimental-syms.sh @@ -6,4 +6,10 @@ MAPFILE=$1