2022-12-19 17:48:06 +00:00
|
|
|
rpcgen_tests = files([
|
2022-12-19 19:08:09 +00:00
|
|
|
'test_generator.py',
|
2022-12-19 17:48:06 +00:00
|
|
|
'test_lexer.py',
|
2022-12-19 17:52:29 +00:00
|
|
|
'test_parser.py',
|
2022-12-19 17:48:06 +00:00
|
|
|
])
|
2023-01-31 18:10:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
test_demo = executable(
|
|
|
|
'test_demo',
|
|
|
|
[ 'test_demo.c' ],
|
2023-11-29 11:22:21 +00:00
|
|
|
c_args: [
|
|
|
|
'-Dabs_srcdir="@0@"'.format(meson.current_source_dir()),
|
|
|
|
] + cc_flags_relaxed_frame_limit,
|
2023-01-31 18:10:43 +00:00
|
|
|
dependencies: [
|
|
|
|
xdr_dep, glib_dep
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
test(
|
|
|
|
'test_demo',
|
|
|
|
test_demo,
|
|
|
|
workdir: meson.current_source_dir(),
|
|
|
|
)
|