tests: Add ui-call tests

For now we only test the state mapping.
This commit is contained in:
Evangelos Ribeiro Tzaras
2022-02-01 19:13:16 +01:00
parent 9f8c20995c
commit 1ca83bc2bc
2 changed files with 57 additions and 0 deletions

View File

@@ -115,6 +115,19 @@ t = executable('util', test_sources,
)
test('util', t, env: test_env)
test_sources = [ 'test-ui-call.c' ]
t = executable('ui-call', test_sources,
c_args : test_cflags,
link_args : test_link_args,
pie: true,
link_with : [calls_vala, libcalls],
dependencies : calls_deps,
include_directories : [
calls_includes
]
)
test('ui-call', t, env: test_env)
mock_link_args = [ test_link_args,
'-Wl,--wrap=lfb_init',
'-Wl,--wrap=lfb_uninit',