From: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: "Fam Zheng" <fam@euphon.net>,
"Peter Maydell" <peter.maydell@linaro.org>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Aleksandar Markovic" <amarkovic@wavecomp.com>,
"Cleber Rosa" <crosa@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Aurelien Jarno" <aurelien@aurel32.net>
Subject: Re: [PATCH] tests/acceptance: move @skipUnless decoration to test itself
Date: Tue, 3 Mar 2020 10:42:57 +0100 [thread overview]
Message-ID: <CAL1e-=jLe0zPCkCOYY_XXgVqAhAdAuiPqzn57mYv8YvVwDRihA@mail.gmail.com> (raw)
In-Reply-To: <20200302232220.761-1-philmd@redhat.com>
[-- 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 --]
next prev parent reply other threads:[~2020-03-03 9:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-02 23:22 [PATCH] tests/acceptance: move @skipUnless decoration to test itself Philippe Mathieu-Daudé
2020-03-03 9:42 ` Aleksandar Markovic [this message]
2020-03-03 10:24 ` Alex Bennée
-- strict thread matches above, loose matches on Subject: below --
2020-03-02 18:09 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
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='CAL1e-=jLe0zPCkCOYY_XXgVqAhAdAuiPqzn57mYv8YvVwDRihA@mail.gmail.com' \
--to=aleksandar.m.mail@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=amarkovic@wavecomp.com \
--cc=aurelien@aurel32.net \
--cc=crosa@redhat.com \
--cc=fam@euphon.net \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).