Re: [oe] [meta-python][PATCH 3/8] python3-jsmin: re-add functional ptests

2024-02-19 Thread Tim Orling
2024-02-19 18:19:43 - INFO - WARNING:
meta-python-image-ptest-python3-jsmin-1.0-r0 do_testimage: There were
failing ptests.

2024-02-19 18:19:43 - INFO - self.fail(failmsg)
2024-02-19 18:19:43 - INFO - AssertionError:
2024-02-19 18:19:43 - INFO - ptests which had no test results:
2024-02-19 18:19:43 - INFO - ['python3-jsmin']

On Mon, Feb 19, 2024 at 1:48 PM Derek Straka  wrote:

> Supress warnings about syntax for the tests
>
> Signed-off-by: Derek Straka 
> ---
>  meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
>  meta-python/recipes-devtools/python/python3-jsmin/run-ptest | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc
> b/meta-python/conf/include/ptest-packagelists-meta-python.inc
> index 09fd7eb25..98ebdd07a 100644
> --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
> +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
> @@ -23,6 +23,7 @@ PTESTS_FAST_META_PYTHON = "\
>  python3-intervals \
>  python3-ipy \
>  python3-iso3166 \
> +python3-jsmin \
>  python3-msgpack \
>  python3-multidict \
>  python3-parse-type \
> @@ -74,7 +75,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
>  python3-gunicorn \
>  python3-inotify \
>  python3-jdcal \
> -python3-jsmin \
>  python3-license-expression \
>  python3-ordered-set \
>  python3-parse \
> diff --git a/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
> b/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
> index cbcfffda5..2f04130b9 100644
> --- a/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
> +++ b/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
> @@ -1,3 +1,3 @@
>  #!/bin/sh
>
> -python3 test.py
> +python3 -W ignore test.py
> --
> 2.34.1
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108912): 
https://lists.openembedded.org/g/openembedded-devel/message/108912
Mute This Topic: https://lists.openembedded.org/mt/104456245/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 3/8] python3-jsmin: re-add functional ptests

2024-02-19 Thread Derek Straka
Supress warnings about syntax for the tests

Signed-off-by: Derek Straka 
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 meta-python/recipes-devtools/python/python3-jsmin/run-ptest | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc 
b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 09fd7eb25..98ebdd07a 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -23,6 +23,7 @@ PTESTS_FAST_META_PYTHON = "\
 python3-intervals \
 python3-ipy \
 python3-iso3166 \
+python3-jsmin \
 python3-msgpack \
 python3-multidict \
 python3-parse-type \
@@ -74,7 +75,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
 python3-gunicorn \
 python3-inotify \
 python3-jdcal \
-python3-jsmin \
 python3-license-expression \
 python3-ordered-set \
 python3-parse \
diff --git a/meta-python/recipes-devtools/python/python3-jsmin/run-ptest 
b/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
index cbcfffda5..2f04130b9 100644
--- a/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-python3 test.py
+python3 -W ignore test.py
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10): 
https://lists.openembedded.org/g/openembedded-devel/message/10
Mute This Topic: https://lists.openembedded.org/mt/104456245/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-