2017-06-26 08:38:46 +00:00
|
|
|
tests = [
|
|
|
|
['equalizer-test'],
|
2018-10-28 14:09:21 +00:00
|
|
|
['test-accurate-seek', [gstaudio_dep, gstapp_dep]],
|
2017-06-26 08:38:46 +00:00
|
|
|
['test-segment-seeks'],
|
|
|
|
['videocrop-test'],
|
|
|
|
['videobox-test'],
|
|
|
|
['videocrop2-test'],
|
|
|
|
]
|
|
|
|
|
2017-06-25 23:22:05 +00:00
|
|
|
if gtk_dep.found()
|
2017-06-26 08:38:46 +00:00
|
|
|
tests += [
|
|
|
|
['gdkpixbufsink-test', gtk_dep],
|
|
|
|
['gdkpixbufoverlay-test', [gstvideo_dep, gtk_dep]],
|
|
|
|
]
|
2017-06-25 23:22:05 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if get_variable('have_oss4', false)
|
2017-06-26 08:38:46 +00:00
|
|
|
tests += [['test-oss4']]
|
2017-06-25 23:22:05 +00:00
|
|
|
endif
|
|
|
|
|
2018-07-25 02:05:28 +00:00
|
|
|
if x11_dep.found()
|
2017-06-26 08:38:46 +00:00
|
|
|
tests += [['ximagesrc-test']]
|
2017-06-25 23:22:05 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
foreach t : tests
|
2017-06-26 08:38:46 +00:00
|
|
|
test_name = t.get(0)
|
|
|
|
extra_deps = t.get(1, [])
|
|
|
|
executable(test_name, test_name + '.c',
|
2018-10-28 14:09:21 +00:00
|
|
|
dependencies: [gst_dep, gstbase_dep, libm, extra_deps],
|
2017-06-25 23:22:05 +00:00
|
|
|
c_args : gst_plugins_good_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
install: false)
|
|
|
|
endforeach
|