libvirt/scripts/rpcgen/tests/meson.build
Andrea Bolognani a12e13bdc3 rpcgen: Reformat meson files
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2023-12-01 13:50:16 +01:00

25 lines
398 B
Meson

rpcgen_tests = files([
'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(
'test_demo',
test_demo,
workdir: meson.current_source_dir(),
suite: 'bin',
)