From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Laurent Vivier" <laurent@vivier.eu>,
"Kostiantyn Kostiuk" <kkostiuk@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Zhao Liu" <zhao1.liu@intel.com>,
"Michael Roth" <michael.roth@amd.com>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Jason Wang" <jasowangio@gmail.com>,
qemu-trivial@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
"Stefano Garzarella" <sgarzare@redhat.com>,
"Kashyap Chamarthy" <kchamart@redhat.com>,
"Eric Blake" <eblake@redhat.com>,
"Hanna Reitz" <hreitz@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Kevin Wolf" <kwolf@redhat.com>,
qemu-block@nongnu.org, "Michael Tokarev" <mjt@tls.msk.ru>,
"John Snow" <jsnow@redhat.com>
Subject: [PATCH v2 2/8] qapi: convert intro sections for unit tests
Date: Tue, 22 Sep 2026 16:55:59 -0400 [thread overview]
Message-ID: <20260922205605.501602-3-jsnow@redhat.com> (raw)
In-Reply-To: <20260922205605.501602-1-jsnow@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
---
tests/qapi-schema/doc-good.json | 8 ++++----
tests/qapi-schema/doc-good.out | 15 ++++++---------
tests/qapi-schema/doc-interleaved-section.err | 2 +-
tests/qapi-schema/doc-interleaved-section.json | 3 +--
4 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/tests/qapi-schema/doc-good.json b/tests/qapi-schema/doc-good.json
index fac13425b72..d9a84ccd729 100644
--- a/tests/qapi-schema/doc-good.json
+++ b/tests/qapi-schema/doc-good.json
@@ -94,10 +94,9 @@
##
# @Variant1:
+# A paragraph
#
-# A paragraph
-#
-# Another paragraph
+# Another paragraph
#
# @var1 is undocumented
#
@@ -206,7 +205,8 @@
##
# @cmd-boxed:
-# If you're bored enough to read this, go see a video of boxed cats
+# If you're bored enough to read this, go see a video of boxed
+# cats
#
# Features:
# @cmd-feat1: a feature
diff --git a/tests/qapi-schema/doc-good.out b/tests/qapi-schema/doc-good.out
index 371dd25ffc7..eaaf119dea8 100644
--- a/tests/qapi-schema/doc-good.out
+++ b/tests/qapi-schema/doc-good.out
@@ -126,15 +126,13 @@ doc symbol=Base
minimally indented
doc symbol=Variant1
Intro
+ A paragraph
- Plain
-A paragraph
-
-Another paragraph
-
-@var1 is undocumented
+ Another paragraph
Member=var1
+ Plain
+@var1 is undocumented
Feature=variant1-feat
a feature
Feature=member-feat
@@ -213,9 +211,8 @@ Note::
2.10
doc symbol=cmd-boxed
Intro
-
- Plain
-If you're bored enough to read this, go see a video of boxed cats
+ If you're bored enough to read this, go see a video of boxed
+ cats
Feature=cmd-feat1
a feature
Feature=cmd-feat2
diff --git a/tests/qapi-schema/doc-interleaved-section.err b/tests/qapi-schema/doc-interleaved-section.err
index e5d1ef54c1b..85f01fa57a7 100644
--- a/tests/qapi-schema/doc-interleaved-section.err
+++ b/tests/qapi-schema/doc-interleaved-section.err
@@ -1 +1 @@
-doc-interleaved-section.json:15:1: description of '@foobar:' follows a section
+doc-interleaved-section.json:14:1: description of '@foobar:' follows a section
diff --git a/tests/qapi-schema/doc-interleaved-section.json b/tests/qapi-schema/doc-interleaved-section.json
index eec01ed5650..bc0937b8601 100644
--- a/tests/qapi-schema/doc-interleaved-section.json
+++ b/tests/qapi-schema/doc-interleaved-section.json
@@ -2,8 +2,7 @@
##
# @TestStruct:
-#
-# body
+# body
#
# @integer: foo
# blah
--
2.55.0
next prev parent reply other threads:[~2026-09-22 20:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-22 20:55 [PATCH v2 0/8] qapi: convert intros for qga, firmware, etc John Snow
2026-09-22 20:55 ` [PATCH v2 1/8] qapi: convert/split remaining qapi/qmp intro sections John Snow
2026-09-22 20:55 ` John Snow [this message]
2026-09-23 6:07 ` [PATCH v2 2/8] qapi: convert intro sections for unit tests Markus Armbruster
2026-09-23 17:17 ` John Snow
2026-09-22 20:56 ` [PATCH v2 3/8] qapi: convert trivial intros for qga/qapi-schema.json John Snow
2026-09-22 20:56 ` [PATCH v2 4/8] qapi: convert simple " John Snow
2026-09-22 20:56 ` [PATCH v2 5/8] qapi: split intros at natural cutoff points " John Snow
2026-09-23 6:25 ` Markus Armbruster
2026-09-23 17:18 ` John Snow
2026-09-22 20:56 ` [PATCH v2 6/8] qapi: split intros " John Snow
2026-09-22 20:56 ` [PATCH v2 7/8] qapi: convert intro sections for docs/interop/firmware.json John Snow
2026-09-22 20:56 ` [PATCH v2 8/8] qapi: convert intro sections for docs/interop/vhost-user.json John Snow
2026-09-23 6:45 ` [PATCH v2 0/8] qapi: convert intros for qga, firmware, etc Markus Armbruster
2026-09-23 6:49 ` Markus Armbruster
2026-09-23 17:19 ` John Snow
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=20260922205605.501602-3-jsnow@redhat.com \
--to=jsnow@redhat.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=eblake@redhat.com \
--cc=hreitz@redhat.com \
--cc=jasowangio@gmail.com \
--cc=kchamart@redhat.com \
--cc=kkostiuk@redhat.com \
--cc=kwolf@redhat.com \
--cc=laurent@vivier.eu \
--cc=michael.roth@amd.com \
--cc=mjt@tls.msk.ru \
--cc=mst@redhat.com \
--cc=philmd@oss.qualcomm.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=sgarzare@redhat.com \
--cc=zhao1.liu@intel.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.