tests: Split media tests into separate file

This gives us a better separation of concerns and it will make it a bit easier
to move the sip independent media pieces out of the plugin in the mid to long
term.
This commit is contained in:
Evangelos Ribeiro Tzaras
2022-03-01 17:05:55 +01:00
parent ab64421880
commit f017261c59
3 changed files with 186 additions and 139 deletions

View File

@@ -93,6 +93,20 @@ t = executable('plugins', test_sources,
)
test('plugins', t, env: test_env)
test_sources = [ 'test-media.c' ]
t = executable('media', test_sources,
c_args : test_cflags,
link_args: test_link_args,
pie: true,
link_with : [calls_vala, calls_sip, libcalls],
dependencies: [calls_deps, sip_deps],
include_directories : [
calls_includes,
sip_include,
]
)
test('media', t, env: test_env)
test_sources = [ 'test-sip.c' ]
t = executable('sip', test_sources,
c_args : test_cflags,