From: Lukas Straub <lukasstraub2@web.de>
To: qemu-devel <qemu-devel@nongnu.org>
Cc: Laurent Vivier <lvivier@redhat.com>,
Marc-Andre Lureau <marcandre.lureau@gmail.com>,
Thomas Huth <thuth@redhat.com>, Li Zhang <zhlcindy@gmail.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: [PATCH v2 0/5] yank: Add chardev tests and fixes
Date: Mon, 22 Mar 2021 16:40:55 +0100 [thread overview]
Message-ID: <cover.1616427054.git.lukasstraub2@web.de> (raw)
[-- 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 --]
next reply other threads:[~2021-03-22 15:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 15:40 Lukas Straub [this message]
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
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=cover.1616427054.git.lukasstraub2@web.de \
--to=lukasstraub2@web.de \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=zhlcindy@gmail.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 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.