All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/acceptance: move @skipUnless decoration to test itself
@ 2020-03-02 18:09 Alex Bennée
  2020-03-02 18:14 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Bennée @ 2020-03-02 18:09 UTC (permalink / raw)
  To: qemu-devel
  Cc: Philippe Mathieu-Daudé,
	Aurelien Jarno, Alex Bennée, f4bug, Aleksandar Markovic

It appears ignore the decoration if just applied to the class.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 tests/acceptance/machine_mips_malta.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/acceptance/machine_mips_malta.py b/tests/acceptance/machine_mips_malta.py
index 92b4f28a112..b8fac2a44d5 100644
--- a/tests/acceptance/machine_mips_malta.py
+++ b/tests/acceptance/machine_mips_malta.py
@@ -30,14 +30,14 @@ except ImportError:
     CV2_AVAILABLE = False
 
 
-@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
-@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
 class MaltaMachineFramebuffer(Test):
 
     timeout = 30
 
     KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
 
+    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
+    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
     def do_test_i6400_framebuffer_logo(self, cpu_cores_count):
         """
         Boot Linux kernel and check Tux logo is displayed on the framebuffer.
-- 
2.20.1



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

* Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
  2020-03-02 18:09 [PATCH] tests/acceptance: move @skipUnless decoration to test itself Alex Bennée
@ 2020-03-02 18:14 ` Philippe Mathieu-Daudé
  2020-03-03 13:44   ` Cleber Rosa
  0 siblings, 1 reply; 8+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-03-02 18:14 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel; +Cc: Aurelien Jarno, f4bug, Aleksandar Markovic

On 3/2/20 7:09 PM, Alex Bennée wrote:
> It appears ignore the decoration if just applied to the class.

Odd I remember testing this, this might be a feature supported by a 
newer Avocado version than the one available on Travis-CI.

> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   tests/acceptance/machine_mips_malta.py | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/acceptance/machine_mips_malta.py b/tests/acceptance/machine_mips_malta.py
> index 92b4f28a112..b8fac2a44d5 100644
> --- a/tests/acceptance/machine_mips_malta.py
> +++ b/tests/acceptance/machine_mips_malta.py
> @@ -30,14 +30,14 @@ except ImportError:
>       CV2_AVAILABLE = False
>   
>   
> -@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> -@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>   class MaltaMachineFramebuffer(Test):
>   
>       timeout = 30
>   
>       KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
>   
> +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>       def do_test_i6400_framebuffer_logo(self, cpu_cores_count):
>           """
>           Boot Linux kernel and check Tux logo is displayed on the framebuffer.
> 

Unfortunately you have to also add it to the 7/8cores tests.



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

* Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
  2020-03-02 18:14 ` Philippe Mathieu-Daudé
@ 2020-03-03 13:44   ` Cleber Rosa
  2020-03-03 13:59     ` Alex Bennée
  0 siblings, 1 reply; 8+ messages in thread
From: Cleber Rosa @ 2020-03-03 13:44 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Aleksandar Markovic, Alex Bennée, qemu-devel, Aurelien Jarno, f4bug



----- Original Message -----
> From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
> To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
> Cc: "Aurelien Jarno" <aurelien@aurel32.net>, f4bug@amsat.org, "Aleksandar Markovic" <amarkovic@wavecomp.com>
> Sent: Monday, March 2, 2020 1:14:31 PM
> Subject: Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
> 
> On 3/2/20 7:09 PM, Alex Bennée wrote:
> > It appears ignore the decoration if just applied to the class.
> 
> Odd I remember testing this, this might be a feature supported by a
> newer Avocado version than the one available on Travis-CI.
> 
> > 
> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> > ---
> >   tests/acceptance/machine_mips_malta.py | 4 ++--
> >   1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/tests/acceptance/machine_mips_malta.py
> > b/tests/acceptance/machine_mips_malta.py
> > index 92b4f28a112..b8fac2a44d5 100644
> > --- a/tests/acceptance/machine_mips_malta.py
> > +++ b/tests/acceptance/machine_mips_malta.py
> > @@ -30,14 +30,14 @@ except ImportError:
> >       CV2_AVAILABLE = False
> >   
> >   
> > -@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> > -@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
> >   class MaltaMachineFramebuffer(Test):
> >   
> >       timeout = 30
> >   
> >       KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
> >   
> > +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> > +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
> >       def do_test_i6400_framebuffer_logo(self, cpu_cores_count):
> >           """
> >           Boot Linux kernel and check Tux logo is displayed on the
> >           framebuffer.
> > 
> 
> Unfortunately you have to also add it to the 7/8cores tests.
> 
> 
> 

This is true of Avocado < 76.0, but on 76.0 you can decorate the
class too:

https://avocado-framework.readthedocs.io/en/76.0/releases/76_0.html#users-test-writers

Maybe replace this patch and bump Avocado's version?

- Cleber.



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

* Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
  2020-03-03 13:44   ` Cleber Rosa
@ 2020-03-03 13:59     ` Alex Bennée
  2020-03-03 14:10       ` Cleber Rosa
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Bennée @ 2020-03-03 13:59 UTC (permalink / raw)
  To: Cleber Rosa
  Cc: Aleksandar Markovic, Philippe Mathieu-Daudé,
	qemu-devel, Aurelien Jarno, f4bug


Cleber Rosa <crosa@redhat.com> writes:

> ----- Original Message -----
>> From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
>> To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
>> Cc: "Aurelien Jarno" <aurelien@aurel32.net>, f4bug@amsat.org, "Aleksandar Markovic" <amarkovic@wavecomp.com>
>> Sent: Monday, March 2, 2020 1:14:31 PM
>> Subject: Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
>> 
>> On 3/2/20 7:09 PM, Alex Bennée wrote:
>> > It appears ignore the decoration if just applied to the class.
>> 
>> Odd I remember testing this, this might be a feature supported by a
>> newer Avocado version than the one available on Travis-CI.
>> 
>> > 
>> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> > ---
>> >   tests/acceptance/machine_mips_malta.py | 4 ++--
>> >   1 file changed, 2 insertions(+), 2 deletions(-)
>> > 
>> > diff --git a/tests/acceptance/machine_mips_malta.py
>> > b/tests/acceptance/machine_mips_malta.py
>> > index 92b4f28a112..b8fac2a44d5 100644
>> > --- a/tests/acceptance/machine_mips_malta.py
>> > +++ b/tests/acceptance/machine_mips_malta.py
>> > @@ -30,14 +30,14 @@ except ImportError:
>> >       CV2_AVAILABLE = False
>> >   
>> >   
>> > -@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
>> > -@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>> >   class MaltaMachineFramebuffer(Test):
>> >   
>> >       timeout = 30
>> >   
>> >       KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
>> >   
>> > +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
>> > +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>> >       def do_test_i6400_framebuffer_logo(self, cpu_cores_count):
>> >           """
>> >           Boot Linux kernel and check Tux logo is displayed on the
>> >           framebuffer.
>> > 
>> 
>> Unfortunately you have to also add it to the 7/8cores tests.
>> 
>> 
>> 
>
> This is true of Avocado < 76.0, but on 76.0 you can decorate the
> class too:
>
> https://avocado-framework.readthedocs.io/en/76.0/releases/76_0.html#users-test-writers
>
> Maybe replace this patch and bump Avocado's version?

Where is this defined in the source?

>
> - Cleber.


-- 
Alex Bennée


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

* Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
  2020-03-03 13:59     ` Alex Bennée
@ 2020-03-03 14:10       ` Cleber Rosa
  0 siblings, 0 replies; 8+ messages in thread
From: Cleber Rosa @ 2020-03-03 14:10 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Aleksandar Markovic, Philippe Mathieu-Daudé,
	qemu-devel, Aurelien Jarno, f4bug



----- Original Message -----
> From: "Alex Bennée" <alex.bennee@linaro.org>
> To: "Cleber Rosa" <crosa@redhat.com>
> Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>, qemu-devel@nongnu.org, "Aurelien Jarno" <aurelien@aurel32.net>,
> f4bug@amsat.org, "Aleksandar Markovic" <amarkovic@wavecomp.com>
> Sent: Tuesday, March 3, 2020 8:59:47 AM
> Subject: Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
> 
> 
> Cleber Rosa <crosa@redhat.com> writes:
> 
> > ----- Original Message -----
> >> From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
> >> To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
> >> Cc: "Aurelien Jarno" <aurelien@aurel32.net>, f4bug@amsat.org, "Aleksandar
> >> Markovic" <amarkovic@wavecomp.com>
> >> Sent: Monday, March 2, 2020 1:14:31 PM
> >> Subject: Re: [PATCH] tests/acceptance: move @skipUnless decoration to test
> >> itself
> >> 
> >> On 3/2/20 7:09 PM, Alex Bennée wrote:
> >> > It appears ignore the decoration if just applied to the class.
> >> 
> >> Odd I remember testing this, this might be a feature supported by a
> >> newer Avocado version than the one available on Travis-CI.
> >> 
> >> > 
> >> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> >> > ---
> >> >   tests/acceptance/machine_mips_malta.py | 4 ++--
> >> >   1 file changed, 2 insertions(+), 2 deletions(-)
> >> > 
> >> > diff --git a/tests/acceptance/machine_mips_malta.py
> >> > b/tests/acceptance/machine_mips_malta.py
> >> > index 92b4f28a112..b8fac2a44d5 100644
> >> > --- a/tests/acceptance/machine_mips_malta.py
> >> > +++ b/tests/acceptance/machine_mips_malta.py
> >> > @@ -30,14 +30,14 @@ except ImportError:
> >> >       CV2_AVAILABLE = False
> >> >   
> >> >   
> >> > -@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> >> > -@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
> >> >   class MaltaMachineFramebuffer(Test):
> >> >   
> >> >       timeout = 30
> >> >   
> >> >       KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
> >> >   
> >> > +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> >> > +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
> >> >       def do_test_i6400_framebuffer_logo(self, cpu_cores_count):
> >> >           """
> >> >           Boot Linux kernel and check Tux logo is displayed on the
> >> >           framebuffer.
> >> > 
> >> 
> >> Unfortunately you have to also add it to the 7/8cores tests.
> >> 
> >> 
> >> 
> >
> > This is true of Avocado < 76.0, but on 76.0 you can decorate the
> > class too:
> >
> > https://avocado-framework.readthedocs.io/en/76.0/releases/76_0.html#users-test-writers
> >
> > Maybe replace this patch and bump Avocado's version?
> 
> Where is this defined in the source?
> 

It's defined at tests/requirements.txt.

- Cleber.

> >
> > - Cleber.
> 
> 
> --
> Alex Bennée
> 
> 



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

* Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
  2020-03-03  9:42 ` Aleksandar Markovic
@ 2020-03-03 10:24   ` Alex Bennée
  0 siblings, 0 replies; 8+ messages in thread
From: Alex Bennée @ 2020-03-03 10:24 UTC (permalink / raw)
  To: Aleksandar Markovic
  Cc: Fam Zheng, Peter Maydell, QEMU Developers, Aleksandar Markovic,
	Cleber Rosa, Philippe Mathieu-Daudé,
	Aurelien Jarno


Aleksandar Markovic <aleksandar.m.mail@gmail.com> writes:

> 12:22 AM Uto, 03.03.2020. Philippe Mathieu-Daudé <philmd@redhat.com> је
> написао/ла:
>>
>> From: Alex Bennée <alex.bennee@linaro.org>
>>
>> It appears ignore the decoration if just applied to the class.
>>
>> Fixes: 0484d9d4fbe9beacd
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> [PMD: Move decorations to each test function]
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>
> Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
>
> Alex, please accept this most complete version. Many thanks,
> Aleksandar

Queued to testing/next, thanks.

>
>>  tests/acceptance/machine_mips_malta.py | 8 ++++++--
>>  1 file changed, 6 insertions(+), 2 deletions(-)
>>
>> diff --git a/tests/acceptance/machine_mips_malta.py
> b/tests/acceptance/machine_mips_malta.py
>> index 92b4f28a11..98463f7757 100644
>> --- a/tests/acceptance/machine_mips_malta.py
>> +++ b/tests/acceptance/machine_mips_malta.py
>> @@ -30,8 +30,6 @@
>>      CV2_AVAILABLE = False
>>
>>
>> -@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
>> -@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>>  class MaltaMachineFramebuffer(Test):
>>
>>      timeout = 30
>> @@ -91,6 +89,8 @@ def do_test_i6400_framebuffer_logo(self,
> cpu_cores_count):
>>              cv2.imwrite(debug_png, screendump_bgr)
>>          self.assertGreaterEqual(tuxlogo_count, cpu_cores_count)
>>
>> +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
>> +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>>      def test_mips_malta_i6400_framebuffer_logo_1core(self):
>>          """
>>          :avocado: tags=arch:mips64el
>> @@ -99,6 +99,8 @@ def test_mips_malta_i6400_framebuffer_logo_1core(self):
>>          """
>>          self.do_test_i6400_framebuffer_logo(1)
>>
>> +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
>> +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>>      def test_mips_malta_i6400_framebuffer_logo_7cores(self):
>>          """
>>          :avocado: tags=arch:mips64el
>> @@ -108,6 +110,8 @@ def
> test_mips_malta_i6400_framebuffer_logo_7cores(self):
>>          """
>>          self.do_test_i6400_framebuffer_logo(7)
>>
>> +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
>> +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>>      def test_mips_malta_i6400_framebuffer_logo_8cores(self):
>>          """
>>          :avocado: tags=arch:mips64el
>> --
>> 2.21.1
>>
>>


-- 
Alex Bennée


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

* Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
  2020-03-02 23:22 Philippe Mathieu-Daudé
@ 2020-03-03  9:42 ` Aleksandar Markovic
  2020-03-03 10:24   ` Alex Bennée
  0 siblings, 1 reply; 8+ messages in thread
From: Aleksandar Markovic @ 2020-03-03  9:42 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Fam Zheng, Peter Maydell, QEMU Developers, Aleksandar Markovic,
	Cleber Rosa, Alex Bennée, Aurelien Jarno

[-- Attachment #1: Type: text/plain, Size: 2441 bytes --]

12:22 AM Uto, 03.03.2020. Philippe Mathieu-Daudé <philmd@redhat.com> је
написао/ла:
>
> From: Alex Bennée <alex.bennee@linaro.org>
>
> It appears ignore the decoration if just applied to the class.
>
> Fixes: 0484d9d4fbe9beacd
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> [PMD: Move decorations to each test function]
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---

Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>

Alex, please accept this most complete version. Many thanks, Aleksandar

>  tests/acceptance/machine_mips_malta.py | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/tests/acceptance/machine_mips_malta.py
b/tests/acceptance/machine_mips_malta.py
> index 92b4f28a11..98463f7757 100644
> --- a/tests/acceptance/machine_mips_malta.py
> +++ b/tests/acceptance/machine_mips_malta.py
> @@ -30,8 +30,6 @@
>      CV2_AVAILABLE = False
>
>
> -@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> -@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>  class MaltaMachineFramebuffer(Test):
>
>      timeout = 30
> @@ -91,6 +89,8 @@ def do_test_i6400_framebuffer_logo(self,
cpu_cores_count):
>              cv2.imwrite(debug_png, screendump_bgr)
>          self.assertGreaterEqual(tuxlogo_count, cpu_cores_count)
>
> +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>      def test_mips_malta_i6400_framebuffer_logo_1core(self):
>          """
>          :avocado: tags=arch:mips64el
> @@ -99,6 +99,8 @@ def test_mips_malta_i6400_framebuffer_logo_1core(self):
>          """
>          self.do_test_i6400_framebuffer_logo(1)
>
> +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>      def test_mips_malta_i6400_framebuffer_logo_7cores(self):
>          """
>          :avocado: tags=arch:mips64el
> @@ -108,6 +110,8 @@ def
test_mips_malta_i6400_framebuffer_logo_7cores(self):
>          """
>          self.do_test_i6400_framebuffer_logo(7)
>
> +    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
> +    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
>      def test_mips_malta_i6400_framebuffer_logo_8cores(self):
>          """
>          :avocado: tags=arch:mips64el
> --
> 2.21.1
>
>

[-- Attachment #2: Type: text/html, Size: 3395 bytes --]

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

* [PATCH] tests/acceptance: move @skipUnless decoration to test itself
@ 2020-03-02 23:22 Philippe Mathieu-Daudé
  2020-03-03  9:42 ` Aleksandar Markovic
  0 siblings, 1 reply; 8+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-03-02 23:22 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Peter Maydell, Alex Bennée, Aleksandar Markovic,
	Cleber Rosa, Philippe Mathieu-Daudé,
	Aurelien Jarno

From: Alex Bennée <alex.bennee@linaro.org>

It appears ignore the decoration if just applied to the class.

Fixes: 0484d9d4fbe9beacd
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
[PMD: Move decorations to each test function]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 tests/acceptance/machine_mips_malta.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/acceptance/machine_mips_malta.py b/tests/acceptance/machine_mips_malta.py
index 92b4f28a11..98463f7757 100644
--- a/tests/acceptance/machine_mips_malta.py
+++ b/tests/acceptance/machine_mips_malta.py
@@ -30,8 +30,6 @@
     CV2_AVAILABLE = False
 
 
-@skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
-@skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
 class MaltaMachineFramebuffer(Test):
 
     timeout = 30
@@ -91,6 +89,8 @@ def do_test_i6400_framebuffer_logo(self, cpu_cores_count):
             cv2.imwrite(debug_png, screendump_bgr)
         self.assertGreaterEqual(tuxlogo_count, cpu_cores_count)
 
+    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
+    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
     def test_mips_malta_i6400_framebuffer_logo_1core(self):
         """
         :avocado: tags=arch:mips64el
@@ -99,6 +99,8 @@ def test_mips_malta_i6400_framebuffer_logo_1core(self):
         """
         self.do_test_i6400_framebuffer_logo(1)
 
+    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
+    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
     def test_mips_malta_i6400_framebuffer_logo_7cores(self):
         """
         :avocado: tags=arch:mips64el
@@ -108,6 +110,8 @@ def test_mips_malta_i6400_framebuffer_logo_7cores(self):
         """
         self.do_test_i6400_framebuffer_logo(7)
 
+    @skipUnless(NUMPY_AVAILABLE, 'Python NumPy not installed')
+    @skipUnless(CV2_AVAILABLE, 'Python OpenCV not installed')
     def test_mips_malta_i6400_framebuffer_logo_8cores(self):
         """
         :avocado: tags=arch:mips64el
-- 
2.21.1



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

end of thread, other threads:[~2020-03-03 14:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02 18:09 [PATCH] tests/acceptance: move @skipUnless decoration to test itself Alex Bennée
2020-03-02 18:14 ` Philippe Mathieu-Daudé
2020-03-03 13:44   ` Cleber Rosa
2020-03-03 13:59     ` Alex Bennée
2020-03-03 14:10       ` Cleber Rosa
2020-03-02 23:22 Philippe Mathieu-Daudé
2020-03-03  9:42 ` Aleksandar Markovic
2020-03-03 10:24   ` Alex Bennée

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.