rpcgen: Reformat meson files

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Andrea Bolognani 2023-11-29 17:44:13 +01:00
parent 233e74e3bf
commit a12e13bdc3
3 changed files with 28 additions and 28 deletions

View File

@ -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

View File

@ -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',
])

View File

@ -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',
)