mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
rpcgen: Reformat meson files
Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
233e74e3bf
commit
a12e13bdc3
@ -4,14 +4,14 @@ if tests_enabled[0]
|
|||||||
subdir('tests')
|
subdir('tests')
|
||||||
|
|
||||||
if pytest_prog.found()
|
if pytest_prog.found()
|
||||||
test(
|
test(
|
||||||
'rpcgen-pytest',
|
'rpcgen-pytest',
|
||||||
python3_prog,
|
python3_prog,
|
||||||
args: [ '-mpytest' ] + rpcgen_tests,
|
args: [ '-mpytest' ] + rpcgen_tests,
|
||||||
env: runutf8,
|
env: runutf8,
|
||||||
workdir: meson.current_source_dir(),
|
workdir: meson.current_source_dir(),
|
||||||
suite: 'script',
|
suite: 'script',
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
rpcgen_src = files([
|
rpcgen_src = files([
|
||||||
'ast.py',
|
'ast.py',
|
||||||
'lexer.py',
|
'lexer.py',
|
||||||
'generator.py',
|
'generator.py',
|
||||||
'parser.py',
|
'parser.py',
|
||||||
'visitor.py',
|
'visitor.py',
|
||||||
])
|
])
|
||||||
|
@ -1,24 +1,24 @@
|
|||||||
rpcgen_tests = files([
|
rpcgen_tests = files([
|
||||||
'test_generator.py',
|
'test_generator.py',
|
||||||
'test_lexer.py',
|
'test_lexer.py',
|
||||||
'test_parser.py',
|
'test_parser.py',
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
test_demo = executable(
|
test_demo = executable(
|
||||||
'test_demo',
|
'test_demo',
|
||||||
[ 'test_demo.c' ],
|
[ 'test_demo.c' ],
|
||||||
c_args: [
|
c_args: [
|
||||||
'-Dabs_srcdir="@0@"'.format(meson.current_source_dir()),
|
'-Dabs_srcdir="@0@"'.format(meson.current_source_dir()),
|
||||||
] + cc_flags_relaxed_frame_limit,
|
] + cc_flags_relaxed_frame_limit,
|
||||||
dependencies: [
|
dependencies: [
|
||||||
xdr_dep, glib_dep
|
xdr_dep, glib_dep
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'test_demo',
|
'test_demo',
|
||||||
test_demo,
|
test_demo,
|
||||||
workdir: meson.current_source_dir(),
|
workdir: meson.current_source_dir(),
|
||||||
suite: 'bin',
|
suite: 'bin',
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user