Imported Upstream version 0.1.17
[platform/upstream/libnice.git] / stun / tests / meson.build
1 foreach t : ['parse', 'format', 'bind', 'conncheck', 'hmac']
2   test_name = 'test-@0@'.format(t)
3   exe = executable(test_name, test_name + '.c',
4     include_directories: nice_incs,
5     dependencies: [syslibs, crypto_dep],
6     link_with: libstun)
7   test(test_name, exe)
8 endforeach
9
10 # XXX: This test is broken and unused since 2007, ocrete knows about it
11 # If we enable it, we may want to put it in a separate suite that's only run on
12 # dist because it takes a long time to run since it tests stun timeouts.
13 if false and find_program('sh', required : false).found()
14   test('test-check-bind', find_program('check-bind.sh'),
15     timeout: 600,
16     env: 'BUILT_WITH_MESON=1',
17     args: [stunbdc_exe, stund_exe])
18 endif