| 1 |
gtest_dep = dependency('gtest', main : true, fallback : ['gtest', 'gtest_main_dep'], required : true) |
| 2 |
|
| 3 |
client_api = executable('client_api', 'client_api.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 4 |
media_api = executable('media_api', 'media_api.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 5 |
e2ee = executable('e2ee', 'e2ee.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 6 |
device = executable('device', 'device.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 7 |
utils = executable('utils', 'utils.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 8 |
pushrules = executable('pushrules', 'pushrules.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 9 |
connection = executable('connection', 'connection.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 10 |
identifiers = executable('identifiers', 'identifiers.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 11 |
events = executable('events', 'events.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 12 |
messages = executable('messages', 'messages.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 13 |
voip = executable('voip', 'voip.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 14 |
responses = executable('responses', 'responses.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 15 |
requests = executable('requests', 'requests.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 16 |
errors = executable('errors', 'errors.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 17 |
crypto = executable('crypto', 'crypto.cpp', dependencies: [matrix_client_dep, gtest_dep]) |
| 18 |
|
| 19 |
test('connection', connection, protocol: 'gtest', suite: 'network', is_parallel: false) |
| 20 |
test('client_api', client_api, protocol: 'gtest', suite: 'network', is_parallel: false, timeout: 300) |
| 21 |
test('media_api', media_api, protocol: 'gtest', suite: 'network', is_parallel: false,env: ['FIXTURE_PREFIX='+meson.current_source_dir()]) |
| 22 |
test('e2ee', e2ee, protocol: 'gtest', suite: 'network', is_parallel: false) |
| 23 |
test('device', device, protocol: 'gtest', suite: 'network', is_parallel: false) |
| 24 |
test('pushrules', pushrules, protocol: 'gtest', suite: 'network', is_parallel: false) |
| 25 |
|
| 26 |
test('crypto', crypto, protocol: 'gtest', suite: 'nonetwork') |
| 27 |
test('errors', errors, protocol: 'gtest', suite: 'nonetwork') |
| 28 |
test('requests', requests, protocol: 'gtest', suite: 'nonetwork') |
| 29 |
test('responses', responses, protocol: 'gtest', suite: 'nonetwork',env: ['FIXTURE_PREFIX='+meson.current_source_dir()]) |
| 30 |
test('messages', messages, protocol: 'gtest', suite: 'nonetwork') |
| 31 |
test('voip', voip, protocol: 'gtest', suite: 'nonetwork') |
| 32 |
test('events', events, protocol: 'gtest', suite: 'nonetwork') |
| 33 |
test('identifiers', identifiers, protocol: 'gtest', suite: 'nonetwork') |
| 34 |
test('utils', utils, protocol: 'gtest', suite: 'nonetwork') |