All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] aardvark-dns: Improve the ptest output
@ 2024-06-26  3:24 mingli.yu
  2024-07-10  3:52 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: mingli.yu @ 2024-06-26  3:24 UTC (permalink / raw)
  To: meta-virtualization

From: Mingli Yu <mingli.yu@windriver.com>

The previous ptest result show as ✓ or ✗ , improve the result to
PASS or FAIL.
 # ./run-ptest
 [snip]
 PASS: 6 basic container - dns itself with long network name
 PASS: 7 two containers on the same network
 PASS: 8 two containers on different networks
 [snip]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 recipes-containers/aardvark-dns/files/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/aardvark-dns/files/run-ptest b/recipes-containers/aardvark-dns/files/run-ptest
index b33d8fd4..d7abbb34 100644
--- a/recipes-containers/aardvark-dns/files/run-ptest
+++ b/recipes-containers/aardvark-dns/files/run-ptest
@@ -1,3 +1,3 @@
 #!/bin/bash
 
-NETAVARK=/usr/libexec/podman/netavark AARDVARK=/usr/libexec/podman/aardvark-dns bats ./test/
+NETAVARK=/usr/libexec/podman/netavark AARDVARK=/usr/libexec/podman/aardvark-dns bats -t ./test/ | sed -e '/^ok/ s/^ok/PASS:/g' | sed -e '/^not ok/ s/^not ok/FAIL:/g'
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization] [PATCH] aardvark-dns: Improve the ptest output
  2024-06-26  3:24 [PATCH] aardvark-dns: Improve the ptest output mingli.yu
@ 2024-07-10  3:52 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2024-07-10  3:52 UTC (permalink / raw)
  To: mingli.yu; +Cc: meta-virtualization

staged to master-next

Bruce

In message: [meta-virtualization] [PATCH] aardvark-dns: Improve the ptest output
on 26/06/2024 Yu, Mingli via lists.yoctoproject.org wrote:

> From: Mingli Yu <mingli.yu@windriver.com>
> 
> The previous ptest result show as ✓ or ✗ , improve the result to
> PASS or FAIL.
>  # ./run-ptest
>  [snip]
>  PASS: 6 basic container - dns itself with long network name
>  PASS: 7 two containers on the same network
>  PASS: 8 two containers on different networks
>  [snip]
> 
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
>  recipes-containers/aardvark-dns/files/run-ptest | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-containers/aardvark-dns/files/run-ptest b/recipes-containers/aardvark-dns/files/run-ptest
> index b33d8fd4..d7abbb34 100644
> --- a/recipes-containers/aardvark-dns/files/run-ptest
> +++ b/recipes-containers/aardvark-dns/files/run-ptest
> @@ -1,3 +1,3 @@
>  #!/bin/bash
>  
> -NETAVARK=/usr/libexec/podman/netavark AARDVARK=/usr/libexec/podman/aardvark-dns bats ./test/
> +NETAVARK=/usr/libexec/podman/netavark AARDVARK=/usr/libexec/podman/aardvark-dns bats -t ./test/ | sed -e '/^ok/ s/^ok/PASS:/g' | sed -e '/^not ok/ s/^not ok/FAIL:/g'
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8812): https://lists.yoctoproject.org/g/meta-virtualization/message/8812
> Mute This Topic: https://lists.yoctoproject.org/mt/106884095/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-10  3:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26  3:24 [PATCH] aardvark-dns: Improve the ptest output mingli.yu
2024-07-10  3:52 ` [meta-virtualization] " Bruce Ashfield

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.