summaryrefslogtreecommitdiff
path: root/tests/autobahn/meson.build
blob: e78ff4a7c0f11931afbb663788f03d6ab4a0f89b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
autobahn_conf = configuration_data()
autobahn_conf.set('MESON_BUILD_ROOT', meson.build_root())

configure_file(
  input : 'autobahn-server.json.in',
  output : 'autobahn-server.json',
  configuration : autobahn_conf,
)

client = executable('autobahn-test', 'autobahn-test.c',
    link_with : test_utils,
    dependencies : libsoup_static_dep,
    include_directories : include_directories('..'),
)

test('autobahn-test-quick', client,
  suite : 'autobahn-quick',
  env : env,
  args: ['-m', 'quick'],
  timeout : 180,
  protocol : 'tap',
)

test('autobahn-test', client,
  suite : 'autobahn',
  env : env,
  args: ['-m', 'slow'],
  timeout : 4500,
  protocol : 'tap',
)