summaryrefslogtreecommitdiff
path: root/tests/meson.build
blob: dd0604a7a25d35e7c3178975b839bb6f8ea8bd4e (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
# meson.build
#
# Author: Victor Toso <me@victortoso.com>
#
# Copyright (C) 2018 Grilo Project

tests = [
    'lib-net',
    'media',
    'registry',
]

if cc.get_id() != 'msvc'
  tests += 'autoptr'
endif

foreach t: tests
    source = t + '.c'
    exe = executable(t,
        source,
        install: false,
        link_with: [libgrl, libgrlnet],
        dependencies: [libgrl_dep, libgrlnet_dep])
    test(t, exe, timeout:10)
endforeach