summaryrefslogtreecommitdiff
path: root/tests/meson.build
blob: f988ccd55d5747a54b1133b1f8f57b1c9d82dc30 (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
test_file_config = configuration_data()
test_file_config.set('abs_top_builddir', meson.project_build_root())
discoverer_test = configure_file(
    input: 'test-discoverer.sh.in',
    output: 'test-discoverer.sh',
    configuration: test_file_config
)

test(
    'discoverer',
    discoverer_test,
    env : [
        'MEDIA_DIR=' + media_dir,
        'FILE_LIST=' + join_paths(media_dir, 'media-list.txt'),
        'GUPNP_DLNA_PROFILE_DIR=' + dlna_profile_dir,
        'GUPNP_DLNA_METADATA_BACKEND_DIR=' + dlna_backend_dir
    ]
)

test(
    'test-sets',
    executable(
        'sets',
        'sets.c',
        dependencies : [glib, gio, gobject, gupnp_dlna],
    )
)