summaryrefslogtreecommitdiff
path: root/tests/icles/meson.build
blob: 77c15ebd4597ef464075ad2533947fcd5b01d652 (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
31
32
33
tests = [
  ['equalizer-test'],
  ['test-accurate-seek', [gstaudio_dep, gstapp_dep]],
  ['test-segment-seeks'],
  ['videocrop-test'],
  ['videobox-test'],
  ['videocrop2-test'],
]

if gtk_dep.found()
  tests += [
    ['gdkpixbufsink-test', gtk_dep],
    ['gdkpixbufoverlay-test', [gstvideo_dep, gtk_dep]],
  ]
endif

if get_variable('have_oss4', false)
  tests += [['test-oss4']]
endif

if x11_dep.found()
  tests += [['ximagesrc-test']]
endif

foreach t : tests
  test_name = t.get(0)
  extra_deps = t.get(1, [])
  executable(test_name, test_name + '.c',
    dependencies: [gst_dep, gstbase_dep, libm, extra_deps],
    c_args : gst_plugins_good_args,
    include_directories : [configinc],
    install: false)
endforeach