All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: martin.jansa@gmail.com
Cc: meta-virtualization@lists.yoctoproject.org,
	Bin Lan <bin.lan.cn@windriver.com>
Subject: Re: [scarthgap][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
Date: Wed, 2 Apr 2025 02:23:29 +0000	[thread overview]
Message-ID: <Z-yfodIla9zAaJ-5@gmail.com> (raw)
In-Reply-To: <20250331203636.2882127-1-martin.jansa@gmail.com>


merged.

Bruce

In message: [scarthgap][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths]
on 31/03/2025 martin.jansa@gmail.com wrote:

> From: Bin Lan <bin.lan.cn@windriver.com>
> 
> The EGREP in ptest/tests/atlocal contains the build paths.
> The CFLAGS in ptest/tests/atlocal contains the build paths.
> This change set fixs:
>  - set EGREP to "grep -E" in ptest/tests/atlocal
>  - set CFLAGS to " " in ptest/tests/atlocal
> by updating the patch
> openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch.
> 
> Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
> ---
>  ...est-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch
> index 571753a5..abad1458 100644
> --- a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch
> +++ b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch
> @@ -16,6 +16,13 @@ Signed-off-by: He Zhe <zhe.he@windriver.com>
>  refresh patch to fix patch-fuzz warning
>  Signed-off-by: Changqing Li <changqing.li@windriver.com>
>  
> +Refresh patch to fix file ptest/tests/atlocal 
> +contains reference to TMPDIR [buildpaths]. The fix is:
> + - set EGREP to "grep -E" in ptest/tests/atlocal
> + - set CFLAGS to " " in ptest/tests/atlocal
> +
> +Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
> +
>  Upstream-Status: Inappropriate [embedded specific]
>  ---
>   Makefile.am |  1 +
> @@ -37,7 +44,7 @@ new file mode 100644
>  index 0000000..0b4587c
>  --- /dev/null
>  +++ b/test.mk
> -@@ -0,0 +1,74 @@
> +@@ -0,0 +1,76 @@
>  +TEST_DEST ?= ${prefix}/lib/openvswitch
>  +TEST_ROOT ?= ${prefix}/lib/openvswitch
>  +TEST_DEPEND =
> @@ -112,3 +119,5 @@ index 0000000..0b4587c
>  +	sed -i 's|$$srcdir|$$abs_srcdir|g' $(TEST_DEST)/tests/testsuite
>  +	sed -i 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite
>  +	sed -i 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite
> ++	sed -i 's|EGREP=.*|EGREP='"'"'grep -E'"'"'|g' $(TEST_DEST)/tests/atlocal
> ++	sed -i 's|CFLAGS=.*|CFLAGS='"'"' '"'"'|g' $(TEST_DEST)/tests/atlocal


      reply	other threads:[~2025-04-02  2:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-31 20:36 [scarthgap][PATCH] openvswitch: fix ptest contains reference to TMPDIR [buildpaths] martin.jansa
2025-04-02  2:23 ` Bruce Ashfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z-yfodIla9zAaJ-5@gmail.com \
    --to=bruce.ashfield@gmail.com \
    --cc=bin.lan.cn@windriver.com \
    --cc=martin.jansa@gmail.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.