test: Add util tests

Unit test the `get_protocol_from_address()` function family.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-04-30 16:24:07 +02:00
parent 1e84812938
commit 503e5c2154
2 changed files with 48 additions and 0 deletions

View File

@@ -111,4 +111,16 @@ t = executable('account', test_sources,
)
test('account', t, env: test_env)
test_sources = [ 'test-util.c' ]
t = executable('util', test_sources,
c_args : test_cflags,
link_args: test_link_args,
link_with : [calls_vala, libcalls],
dependencies: calls_deps,
include_directories : [
calls_includes,
]
)
test('util', t, env: test_env)
endif