All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tests: Add functional test for out-of-process device emulation
@ 2021-02-25 20:59 Willian Rampazzo
  2021-02-25 20:59 ` [PATCH v2 1/2] avocado_qemu: add exec_command function Willian Rampazzo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Willian Rampazzo @ 2021-02-25 20:59 UTC (permalink / raw)
  To: qemu-devel
  Cc: Elena Ufimtseva, John G Johnson, Jagannathan Raman,
	Wainer dos Santos Moschetta, Cleber Rosa, Marc-André Lureau,
	Philippe Mathieu-Daudé

This series is a respin to the "multi-process: Acceptance test for multiproce=
ss
QEMU" patch sent in December which, runs an Avocado functional test to check =
if a
remote lsi53c895a device gets identified by the guest:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg769188.html

First, we introduce the `exec_command` to the avocado_qemu package, which sen=
ds a
command to a console without the need to wait for a pattern as a result. This=
 is
useful when a test needs to execute a command that does not produce an output,
like, for example, a `mount` command.

Then, the original test is refactored to simplify the code using the new
`exec_command` function, remove the unnecessary change to the
`wait_for_console_pattern` method and normalize the use of single quotes.

CI Pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/261946622

Supersedes: <785772783205140e219b8bfe7f793305ee768f03.1608705805.git.elena.uf=
imtseva@oracle.com>

Jagannathan Raman (1):
  tests: Add functional test for out-of-process device emulation

Willian Rampazzo (1):
  avocado_qemu: add exec_command function

 tests/acceptance/avocado_qemu/__init__.py | 13 +++-
 tests/acceptance/multiprocess.py          | 95 +++++++++++++++++++++++
 2 files changed, 107 insertions(+), 1 deletion(-)
 create mode 100644 tests/acceptance/multiprocess.py

--=20
2.29.2




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

end of thread, other threads:[~2021-03-02 17:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 20:59 [PATCH v2 0/2] tests: Add functional test for out-of-process device emulation Willian Rampazzo
2021-02-25 20:59 ` [PATCH v2 1/2] avocado_qemu: add exec_command function Willian Rampazzo
2021-03-02 15:38   ` Wainer dos Santos Moschetta
2021-02-25 20:59 ` [PATCH v2 2/2] tests: Add functional test for out-of-process device emulation Willian Rampazzo
2021-03-02 17:14   ` Wainer dos Santos Moschetta
2021-02-25 23:07 ` [PATCH v2 0/2] " 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.