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