mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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')
|
||||
|
||||
if pytest_prog.found()
|
||||
test(
|
||||
'rpcgen-pytest',
|
||||
python3_prog,
|
||||
args: [ '-mpytest' ] + rpcgen_tests,
|
||||
env: runutf8,
|
||||
workdir: meson.current_source_dir(),
|
||||
suite: 'script',
|
||||
)
|
||||
test(
|
||||
'rpcgen-pytest',
|
||||
python3_prog,
|
||||
args: [ '-mpytest' ] + rpcgen_tests,
|
||||
env: runutf8,
|
||||
workdir: meson.current_source_dir(),
|
||||
suite: 'script',
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
rpcgen_src = files([
|
||||
'ast.py',
|
||||
'lexer.py',
|
||||
'generator.py',
|
||||
'parser.py',
|
||||
'visitor.py',
|
||||
'ast.py',
|
||||
'lexer.py',
|
||||
'generator.py',
|
||||
'parser.py',
|
||||
'visitor.py',
|
||||
])
|
||||
|
@ -1,24 +1,24 @@
|
||||
rpcgen_tests = files([
|
||||
'test_generator.py',
|
||||
'test_lexer.py',
|
||||
'test_parser.py',
|
||||
'test_generator.py',
|
||||
'test_lexer.py',
|
||||
'test_parser.py',
|
||||
])
|
||||
|
||||
|
||||
test_demo = executable(
|
||||
'test_demo',
|
||||
[ 'test_demo.c' ],
|
||||
c_args: [
|
||||
'-Dabs_srcdir="@0@"'.format(meson.current_source_dir()),
|
||||
] + cc_flags_relaxed_frame_limit,
|
||||
dependencies: [
|
||||
xdr_dep, glib_dep
|
||||
],
|
||||
'test_demo',
|
||||
[ 'test_demo.c' ],
|
||||
c_args: [
|
||||
'-Dabs_srcdir="@0@"'.format(meson.current_source_dir()),
|
||||
] + cc_flags_relaxed_frame_limit,
|
||||
dependencies: [
|
||||
xdr_dep, glib_dep
|
||||
],
|
||||
)
|
||||
|
||||
test(
|
||||
'test_demo',
|
||||
test_demo,
|
||||
workdir: meson.current_source_dir(),
|
||||
suite: 'bin',
|
||||
'test_demo',
|
||||
test_demo,
|
||||
workdir: meson.current_source_dir(),
|
||||
suite: 'bin',
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user