diff mbox series

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

Message ID 20240219214801.1514843-3-derek@asterius.io
State Accepted
Headers show
Series [meta-python,1/8] python3-trustme: add runtime dependency for tests and re-add to ptest | expand

Commit Message

Derek Straka Feb. 19, 2024, 9:47 p.m. UTC
Supress warnings about syntax for the tests

Signed-off-by: Derek Straka <derek@asterius.io>
---
 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(-)

Comments

Tim Orling Feb. 20, 2024, 4:59 a.m. UTC | #1
2024-02-19 18:19:43 - INFO     - WARNING:
meta-python-image-ptest-python3-jsmin-1.0-r0 do_testimage: There were
failing ptests.
<snip>
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 <derek@asterius.io> wrote:

> Supress warnings about syntax for the tests
>
> Signed-off-by: Derek Straka <derek@asterius.io>
> ---
>  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 (#108888):
> https://lists.openembedded.org/g/openembedded-devel/message/108888
> Mute This Topic: https://lists.openembedded.org/mt/104456245/924729
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

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