All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/acceptance/migration: Add the 'migration' tag
@ 2020-02-04 16:33 Philippe Mathieu-Daudé
  2020-02-04 16:51 ` Wainer dos Santos Moschetta
  2020-02-06 15:26 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-04 16:33 UTC (permalink / raw)
  To: qemu-devel, Oksana Vohchana
  Cc: Cleber Rosa, Philippe Mathieu-Daudé,
	Dr . David Alan Gilbert, Wainer dos Santos Moschetta,
	Eduardo Habkost

By using an Avocado tag, we can run all tests described by that
tag as once:

  $ avocado --show=app run -t migration tests/acceptance/
  JOB ID     : 165477737509503fcfa6d7108057a0a18f2a6559
  JOB LOG    : avocado/job-results/job-2020-02-04T17.29-1654777/job.log
   (1/3) tests/acceptance/migration.py:Migration.test_migration_with_tcp_localhost: PASS (0.38 s)
   (2/3) tests/acceptance/migration.py:Migration.test_migration_with_unix: PASS (0.33 s)
   (3/3) tests/acceptance/migration.py:Migration.test_migration_with_exec: PASS (0.07 s)
  RESULTS    : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
Based-on: <20200203111631.18796-1-ovoshcha@redhat.com>
https://www.mail-archive.com/qemu-devel@nongnu.org/msg676230.html
---
 tests/acceptance/migration.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index 41b13b9e0d..b342cabe07 100644
--- a/tests/acceptance/migration.py
+++ b/tests/acceptance/migration.py
@@ -20,6 +20,9 @@ from avocado.utils.path import find_command
 
 
 class Migration(Test):
+    """
+    :avocado: tags=migration
+    """
 
     timeout = 10
 
-- 
2.21.1



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

* Re: [PATCH] tests/acceptance/migration: Add the 'migration' tag
  2020-02-04 16:33 [PATCH] tests/acceptance/migration: Add the 'migration' tag Philippe Mathieu-Daudé
@ 2020-02-04 16:51 ` Wainer dos Santos Moschetta
  2020-02-06 15:26 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 3+ messages in thread
From: Wainer dos Santos Moschetta @ 2020-02-04 16:51 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel, Oksana Vohchana
  Cc: Cleber Rosa, Dr . David Alan Gilbert, Eduardo Habkost


On 2/4/20 2:33 PM, Philippe Mathieu-Daudé wrote:
> By using an Avocado tag, we can run all tests described by that
> tag as once:
>
>    $ avocado --show=app run -t migration tests/acceptance/
>    JOB ID     : 165477737509503fcfa6d7108057a0a18f2a6559
>    JOB LOG    : avocado/job-results/job-2020-02-04T17.29-1654777/job.log
>     (1/3) tests/acceptance/migration.py:Migration.test_migration_with_tcp_localhost: PASS (0.38 s)
>     (2/3) tests/acceptance/migration.py:Migration.test_migration_with_unix: PASS (0.33 s)
>     (3/3) tests/acceptance/migration.py:Migration.test_migration_with_exec: PASS (0.07 s)
>    RESULTS    : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> Based-on: <20200203111631.18796-1-ovoshcha@redhat.com>
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg676230.html
> ---
>   tests/acceptance/migration.py | 3 +++
>   1 file changed, 3 insertions(+)


Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>


>
> diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
> index 41b13b9e0d..b342cabe07 100644
> --- a/tests/acceptance/migration.py
> +++ b/tests/acceptance/migration.py
> @@ -20,6 +20,9 @@ from avocado.utils.path import find_command
>   
>   
>   class Migration(Test):
> +    """
> +    :avocado: tags=migration
> +    """
>   
>       timeout = 10
>   



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

* Re: [PATCH] tests/acceptance/migration: Add the 'migration' tag
  2020-02-04 16:33 [PATCH] tests/acceptance/migration: Add the 'migration' tag Philippe Mathieu-Daudé
  2020-02-04 16:51 ` Wainer dos Santos Moschetta
@ 2020-02-06 15:26 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-06 15:26 UTC (permalink / raw)
  To: qemu-devel, Oksana Vohchana
  Cc: Cleber Rosa, Dr . David Alan Gilbert,
	Wainer dos Santos Moschetta, Eduardo Habkost

On 2/4/20 5:33 PM, Philippe Mathieu-Daudé wrote:
> By using an Avocado tag, we can run all tests described by that
> tag as once:
> 
>    $ avocado --show=app run -t migration tests/acceptance/
>    JOB ID     : 165477737509503fcfa6d7108057a0a18f2a6559
>    JOB LOG    : avocado/job-results/job-2020-02-04T17.29-1654777/job.log
>     (1/3) tests/acceptance/migration.py:Migration.test_migration_with_tcp_localhost: PASS (0.38 s)
>     (2/3) tests/acceptance/migration.py:Migration.test_migration_with_unix: PASS (0.33 s)
>     (3/3) tests/acceptance/migration.py:Migration.test_migration_with_exec: PASS (0.07 s)
>    RESULTS    : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> Based-on: <20200203111631.18796-1-ovoshcha@redhat.com>
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg676230.html
> ---
>   tests/acceptance/migration.py | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
> index 41b13b9e0d..b342cabe07 100644
> --- a/tests/acceptance/migration.py
> +++ b/tests/acceptance/migration.py
> @@ -20,6 +20,9 @@ from avocado.utils.path import find_command
>   
>   
>   class Migration(Test):
> +    """
> +    :avocado: tags=migration
> +    """
>   
>       timeout = 10
>   
> 

Patch applied to my python-next tree:
https://gitlab.com/philmd/qemu/commits/python-next



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

end of thread, other threads:[~2020-02-06 15:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 16:33 [PATCH] tests/acceptance/migration: Add the 'migration' tag Philippe Mathieu-Daudé
2020-02-04 16:51 ` Wainer dos Santos Moschetta
2020-02-06 15:26 ` Philippe Mathieu-Daudé

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.