From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: richard.henderson@linaro.org, Steve Sistare <steven.sistare@oracle.com>
Subject: [PULL 2/5] qtest/qom-test: Traverse entire QOM tree
Date: Mon, 1 Sep 2025 13:52:57 +0200 [thread overview]
Message-ID: <20250901115300.2541937-3-armbru@redhat.com> (raw)
In-Reply-To: <20250901115300.2541937-1-armbru@redhat.com>
This test traverses the QOM sub-tree rooted at /machine. Traverse the
entire tree instead.
The x86_64 test runs some 40 additional QMP commands, and stays under
5s for me.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20250725135034.2280477-4-armbru@redhat.com>
Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
---
tests/qtest/qom-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qtest/qom-test.c b/tests/qtest/qom-test.c
index 7dea0d802d..a2db56bf22 100644
--- a/tests/qtest/qom-test.c
+++ b/tests/qtest/qom-test.c
@@ -211,7 +211,7 @@ static void test_machine(gconstpointer data)
test_properties(qts, "/machine", true);
- qlist_append_str(paths, "/machine");
+ qlist_append_str(paths, "/");
test_list_get(qts, paths);
test_list_get_value(qts);
--
2.49.0
next prev parent reply other threads:[~2025-09-01 12:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-01 11:52 [PULL 0/5] Testing patches for 2025-09-01 Markus Armbruster
2025-09-01 11:52 ` [PULL 1/5] qtest/qom-test: Shallow testing of qom-list / qom-get Markus Armbruster
2025-09-01 11:52 ` Markus Armbruster [this message]
2025-09-01 11:52 ` [PULL 3/5] qtest/qom-test: Don't bother to execute QMP command quit Markus Armbruster
2025-09-01 11:52 ` [PULL 4/5] MAINTAINERS: Cover tests/qtest/qom-test.c Markus Armbruster
2025-09-01 11:53 ` [PULL 5/5] Revert "tests/qtest: use qos_printf instead of g_test_message" Markus Armbruster
2025-09-02 13:47 ` [PULL 0/5] Testing patches for 2025-09-01 Richard Henderson
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=20250901115300.2541937-3-armbru@redhat.com \
--to=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=steven.sistare@oracle.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).