2022-12-19 17:48:06 +00:00
|
|
|
rpcgen_tests = files([
|
2023-11-29 16:44:13 +00:00
|
|
|
'test_generator.py',
|
|
|
|
'test_lexer.py',
|
|
|
|
'test_parser.py',
|
2022-12-19 17:48:06 +00:00
|
|
|
])
|
2023-01-31 18:10:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
test_demo = executable(
|
2023-11-29 16:44:13 +00:00
|
|
|
'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
|
|
|
|
],
|
2023-01-31 18:10:43 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
test(
|
2023-11-29 16:44:13 +00:00
|
|
|
'test_demo',
|
|
|
|
test_demo,
|
|
|
|
workdir: meson.current_source_dir(),
|
|
|
|
suite: 'bin',
|
2023-01-31 18:10:43 +00:00
|
|
|
)
|