Llichengganginit libsoup3
0e2d147a创建于 2022年10月14日历史提交
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',
)