meson: Add tls-interaction test, and fix giomodule test

giomodule test needed symbol visibility pragmas added. This is needed on
Windows anyway, so it's better to do it this way rather than disabling
-fvisibility=hidden for the test modules.
This commit is contained in:
Nirbheek Chauhan
2016-12-21 07:46:30 +05:30
committed by Matthias Clasen
parent e2da3cb599
commit 122f4c051d
4 changed files with 32 additions and 4 deletions

View File

@@ -144,6 +144,12 @@ exe = executable('tls-certificate', 'tls-certificate.c', 'gtesttlsbackend.c',
)
test('tls-certificate', exe, env : test_env)
exe = executable('tls-interaction', 'tls-interaction.c', 'gtesttlsbackend.c',
c_args : test_c_args,
dependencies : [libglib_dep, libgmodule_dep, libgio_dep],
)
test('tls-interaction', exe, env : test_env)
exe = executable('socket-client', 'socket-client.c', 'gtlsconsoleinteraction.c',
c_args : test_c_args,
dependencies : [libglib_dep, libgmodule_dep, libgio_dep],
@@ -156,6 +162,8 @@ exe = executable('socket-client', 'socket-client.c', 'gtlsconsoleinteraction.c',
#)
#test('gdbus-daemon', exe, env : test_env)
# FIXME: Add resources test
foo = '''
c_args_atomic = [ ]
if cc.get_id() == 'gcc'