qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] yank: Add chardev tests and fixes
@ 2021-03-22 15:40 Lukas Straub
  2021-03-22 15:41 ` [PATCH v2 1/5] tests: Use the normal yank code instead of stubs in relevant tests Lukas Straub
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Lukas Straub @ 2021-03-22 15:40 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Marc-Andre Lureau, Thomas Huth, Li Zhang,
	Paolo Bonzini

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

Hello Everyone,
These patches increase test coverage for yank, add tests and fix bugs and
crashes in yank in combination with chardev-change.

Regards,
Lukas Straub

Changes:
-v2:
 -test: add license
 -test: factorize testcases to a single function
 -test: test chardev_change with initialization of new chardev failing
 -fix chardev_change with initialization of new chardev failing
 -add reviewed-by and tested-by tags

Based-on: <20210316135907.3646901-1-armbru@redhat.com>
([PATCH] yank: Avoid linking into executables that don't want it)

Alternative based on:
https://github.com/Lukey3332/qemu.git yank_next

Lukas Straub (5):
  tests: Use the normal yank code instead of stubs in relevant tests
  tests: Add tests for yank with the chardev-change case
  chardev/char.c: Move object_property_try_add_child out of chardev_new
  chardev/char.c: Always pass id to chardev_new
  chardev: Fix yank with the chardev-change case

 MAINTAINERS             |   1 +
 chardev/char-socket.c   |  20 +++-
 chardev/char.c          |  77 ++++++++++-----
 include/chardev/char.h  |   3 +
 tests/qtest/meson.build |   6 +-
 tests/unit/meson.build  |   5 +-
 tests/unit/test-yank.c  | 201 ++++++++++++++++++++++++++++++++++++++++
 7 files changed, 280 insertions(+), 33 deletions(-)
 create mode 100644 tests/unit/test-yank.c

--
2.30.2

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2021-03-22 15:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-22 15:40 [PATCH v2 0/5] yank: Add chardev tests and fixes Lukas Straub
2021-03-22 15:41 ` [PATCH v2 1/5] tests: Use the normal yank code instead of stubs in relevant tests Lukas Straub
2021-03-22 15:41 ` [PATCH v2 2/5] tests: Add tests for yank with the chardev-change case Lukas Straub
2021-03-22 15:41 ` [PATCH v2 3/5] chardev/char.c: Move object_property_try_add_child out of chardev_new Lukas Straub
2021-03-22 15:41 ` [PATCH v2 4/5] chardev/char.c: Always pass id to chardev_new Lukas Straub
2021-03-22 15:41 ` [PATCH v2 5/5] chardev: Fix yank with the chardev-change case Lukas Straub

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).