From: Wainer dos Santos Moschetta <wainersm@redhat.com>
To: "Thomas Huth" <thuth@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Alistair Francis" <alistair@alistair23.me>,
"Andrew Baumann" <Andrew.Baumann@microsoft.com>,
qemu-arm@nongnu.org, "Cleber Rosa" <crosa@redhat.com>,
"Laurent Bonnans" <laurent.bonnans@here.com>,
"Cheng Xiang" <ext-cheng.xiang@here.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [PATCH v4 7/7] tests/boot_linux_console: Tag Emcraft Smartfusion2 as running 'u-boot'
Date: Tue, 28 Jan 2020 18:23:18 -0200 [thread overview]
Message-ID: <0debd0ec-16e4-2d96-c634-26bdb6db6215@redhat.com> (raw)
In-Reply-To: <addb50ef-b6cd-fec1-2266-f062cae65090@redhat.com>
On 1/27/20 2:05 PM, Thomas Huth wrote:
> On 21/01/2020 00.51, Philippe Mathieu-Daudé wrote:
>> Avocado tags are handy to automatically select tests matching
>> the tags. Since this test also runs U-Boot, tag it.
>>
>> We can run all the tests using U-Boot as once with:
>>
>> $ avocado --show=app run -t u-boot tests/acceptance/
>> JOB LOG : avocado/job-results/job-2020-01-21T00.16-ee9344e/job.log
>> (1/3) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_arm_emcraft_sf2: PASS (16.59 s)
>> (2/3) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_arm_raspi2_uboot: PASS (0.47 s)
>> (3/3) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_aarch64_raspi3_uboot: PASS (2.43 s)
>> RESULTS : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
>> JOB TIME : 19.78 s
>>
>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>> ---
>> tests/acceptance/boot_linux_console.py | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
>> index 22b360118d..4a4cf9d0ea 100644
>> --- a/tests/acceptance/boot_linux_console.py
>> +++ b/tests/acceptance/boot_linux_console.py
>> @@ -305,6 +305,7 @@ class BootLinuxConsole(Test):
>> :avocado: tags=arch:arm
>> :avocado: tags=machine:emcraft-sf2
>> :avocado: tags=endian:little
>> + :avocado: tags=u-boot
>> """
>> uboot_url = ('https://raw.githubusercontent.com/'
>> 'Subbaraya-Sundeep/qemu-test-binaries/'
>>
> We should maybe move that test to another file, too, since it is not
> using Linux. Or should we maybe rename boot_linux_console.py to simply
> boot_console.py ?
Thinking aloud: maybe create a directory 'boot' (or 'boot_tests') and
group tests in files according to the 'arch' tag.
Example:
[wainersm@localhost boot]$ tree
.
└── arm.py
0 directories, 1 file
[wainersm@localhost boot]$ cat arm.py
from avocado_qemu import Test
class BootArmTest(Test):
"""
:avocado: tags=arch:arm
"""
def test_linux_virt()
"""
:avocado: tags=machine:virt
:avocado: tags=linux-boot
"""
# Test here
pass
def test_uboot_emcraft_sf2()
"""
:avocado: tags=machine:emcraft-sf2
:avocado: tags=endian:little
:avocado: tags=u-boot
"""
# Test here
pass
--------------
Back to this patch...
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
>
> Thomas
>
>
next prev parent reply other threads:[~2020-01-28 20:24 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-20 23:51 [PATCH v4 0/7] hw/arm/raspi: Run U-Boot on the raspi machines Philippe Mathieu-Daudé
2020-01-20 23:51 ` [PATCH v4 1/7] hw/arm/raspi: Remove obsolete use of -smp to set the soc 'enabled-cpus' Philippe Mathieu-Daudé
2020-01-21 2:34 ` Alistair Francis
2020-01-20 23:51 ` [PATCH v4 2/7] Acceptance tests: Extract _console_interaction() Philippe Mathieu-Daudé
2020-01-28 11:01 ` Liam Merwick
2020-01-28 19:34 ` Wainer dos Santos Moschetta
2020-01-28 19:58 ` Wainer dos Santos Moschetta
2020-01-30 22:18 ` Philippe Mathieu-Daudé
2020-01-20 23:51 ` [PATCH v4 3/7] Acceptance tests: Add interrupt_interactive_console_until_pattern() Philippe Mathieu-Daudé
2020-01-28 11:01 ` Liam Merwick
2020-01-28 19:59 ` Wainer dos Santos Moschetta
2020-01-30 22:19 ` Philippe Mathieu-Daudé
2020-01-20 23:51 ` [PATCH v4 4/7] python/qemu/machine: Allow to use other serial consoles than default Philippe Mathieu-Daudé
2020-01-21 8:20 ` Philippe Mathieu-Daudé
2020-01-28 11:01 ` Liam Merwick
2020-01-28 19:12 ` Wainer dos Santos Moschetta
2020-01-30 22:15 ` Philippe Mathieu-Daudé
2020-01-20 23:51 ` [PATCH v4 5/7] tests/boot_linux_console: Test booting U-Boot on the Raspberry Pi 2 Philippe Mathieu-Daudé
2020-01-21 6:57 ` Gerd Hoffmann
2020-01-21 8:32 ` Philippe Mathieu-Daudé
2020-01-27 16:02 ` Thomas Huth
2020-01-27 16:09 ` Philippe Mathieu-Daudé
2020-01-27 16:15 ` Thomas Huth
2020-01-28 20:08 ` Wainer dos Santos Moschetta
2020-01-20 23:51 ` [PATCH v4 6/7] tests/boot_linux_console: Test booting U-Boot on the Raspberry Pi 3 Philippe Mathieu-Daudé
2020-01-28 20:10 ` Wainer dos Santos Moschetta
2020-01-20 23:51 ` [PATCH v4 7/7] tests/boot_linux_console: Tag Emcraft Smartfusion2 as running 'u-boot' Philippe Mathieu-Daudé
2020-01-27 16:05 ` Thomas Huth
2020-01-28 20:23 ` Wainer dos Santos Moschetta [this message]
2020-01-31 2:10 ` Philippe Mathieu-Daudé
2020-01-28 6:53 ` [PATCH v4 0/7] hw/arm/raspi: Run U-Boot on the raspi machines Philippe Mathieu-Daudé
2020-01-30 13:43 ` Peter Maydell
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=0debd0ec-16e4-2d96-c634-26bdb6db6215@redhat.com \
--to=wainersm@redhat.com \
--cc=Andrew.Baumann@microsoft.com \
--cc=alistair@alistair23.me \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=ext-cheng.xiang@here.com \
--cc=f4bug@amsat.org \
--cc=laurent.bonnans@here.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/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).