|
|
|
@ -215,18 +215,18 @@ test('QAPI schema regression tests', python, |
|
|
|
|
|
|
|
diff = find_program('diff') |
|
|
|
|
|
|
|
qapi_doc = custom_target('QAPI doc', |
|
|
|
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', |
|
|
|
'doc-good-qapi-introspect.c', 'doc-good-qapi-introspect.h', |
|
|
|
'doc-good-qapi-types.c', 'doc-good-qapi-types.h', |
|
|
|
'doc-good-qapi-visit.c', 'doc-good-qapi-visit.h' ], |
|
|
|
input: files('doc-good.json'), |
|
|
|
command: [ qapi_gen, '-o', meson.current_build_dir(), |
|
|
|
'-p', 'doc-good-', '@INPUT0@' ], |
|
|
|
depend_files: qapi_gen_depends) |
|
|
|
custom_target('QAPI doc', |
|
|
|
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', |
|
|
|
'doc-good-qapi-introspect.c', 'doc-good-qapi-introspect.h', |
|
|
|
'doc-good-qapi-types.c', 'doc-good-qapi-types.h', |
|
|
|
'doc-good-qapi-visit.c', 'doc-good-qapi-visit.h' ], |
|
|
|
input: files('doc-good.json'), |
|
|
|
command: [ qapi_gen, '-o', meson.current_build_dir(), |
|
|
|
'-p', 'doc-good-', '@INPUT0@' ], |
|
|
|
depend_files: qapi_gen_depends) |
|
|
|
|
|
|
|
if build_docs |
|
|
|
# Test the document-comment document generation code by running a test schema |
|
|
|
|