mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
scripts/qapi: Remove texinfo generation support
We no longer use the generated texinfo format documentation, so delete the code that generates it, and the test case for the generation. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20200925162316.21205-17-peter.maydell@linaro.org> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
ca1145ee88
commit
a27ff0a249
6 changed files with 1 additions and 634 deletions
|
@ -206,8 +206,7 @@ test('QAPI schema regression tests', python, args: files('test-qapi.py', schemas
|
|||
diff = find_program('diff')
|
||||
|
||||
qapi_doc = custom_target('QAPI doc',
|
||||
output: ['doc-good-qapi-doc.texi',
|
||||
'doc-good-qapi-commands.c', 'doc-good-qapi-commands.h',
|
||||
output: ['doc-good-qapi-commands.c', 'doc-good-qapi-commands.h',
|
||||
'doc-good-qapi-emit-events.c', 'doc-good-qapi-emit-events.h',
|
||||
'doc-good-qapi-events.c', 'doc-good-qapi-events.h',
|
||||
'doc-good-qapi-init-commands.c', 'doc-good-qapi-init-commands.h',
|
||||
|
@ -219,12 +218,6 @@ qapi_doc = custom_target('QAPI doc',
|
|||
'-p', 'doc-good-', '@INPUT0@' ],
|
||||
depend_files: qapi_gen_depends)
|
||||
|
||||
# "full_path()" needed here to work around
|
||||
# https://github.com/mesonbuild/meson/issues/7585
|
||||
test('QAPI doc', diff, args: ['-b', '-u', files('doc-good.texi'), qapi_doc[0].full_path()],
|
||||
depends: qapi_doc,
|
||||
suite: ['qapi-schema', 'qapi-doc'])
|
||||
|
||||
# Test the document-comment document generation code by running a test schema
|
||||
# file through Sphinx's plain-text builder and comparing the result against
|
||||
# a golden reference. This is in theory susceptible to failures if Sphinx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue