tests: rename 'icles' subdir to be more descriptive

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2178>
This commit is contained in:
Brad Hards 2022-04-14 20:10:46 +10:00 committed by GStreamer Marge Bot
parent 71891e5647
commit 488b760e7e
46 changed files with 20 additions and 20 deletions

View file

@ -7,4 +7,4 @@ tests/examples/uvch264/enum_property_gtk2.glade
tests/examples/uvch264/int_property.glade
tests/examples/uvch264/window.glade
tests/examples/waylandsink/window.ui
tests/icles/metadata_editor.ui
tests/interactive/metadata_editor.ui

View file

@ -1,6 +1,6 @@
if not get_option('tests').disabled() and gstcheck_dep.found()
subdir('check')
subdir('icles')
subdir('interactive')
subdir('validate')
endif
if not get_option('examples').disabled()

View file

@ -1,4 +1,4 @@
base_icles = [
base_itests = [
[ 'benchmark-appsink.c', false, [gst_base_dep, app_dep], true ],
[ 'benchmark-appsrc.c', false, [gst_base_dep, app_dep], true ],
[ 'benchmark-video-conversion.c', false, [gst_base_dep, video_dep], true ],
@ -27,35 +27,35 @@ base_icles = [
[ 'playback/test7.c' ],
]
icle_deps = [gst_dep]
itest_deps = [gst_dep]
foreach icle : base_icles
fname = icle.get(0)
icle_name = fname.split('.').get(0).underscorify()
skip_icle = false
foreach itest : base_itests
fname = itest.get(0)
itest_name = fname.split('.').get(0).underscorify()
skip_itest = false
is_bench = false
extra_deps = [ ]
if icle.length() >= 4
is_bench = icle.get(3)
if itest.length() >= 4
is_bench = itest.get(3)
endif
if icle.length() >= 3
extra_deps = icle.get(2)
if itest.length() >= 3
extra_deps = itest.get(2)
endif
if icle.length() >= 2
skip_icle = icle.get(1)
if itest.length() >= 2
skip_itest = itest.get(1)
endif
if not skip_icle
exe = executable(icle_name, fname,
if not skip_itest
exe = executable(itest_name, fname,
include_directories : [configinc],
c_args : ['-DHAVE_CONFIG_H=1' ],
dependencies : icle_deps + extra_deps,
dependencies : itest_deps + extra_deps,
)
if is_bench
benchmark('bench_' + icle_name, exe)
benchmark('bench_' + itest_name, exe)
endif
endif
endforeach

View file

@ -9,7 +9,7 @@ gst_plugin_scanner_path = join_paths(gst_plugin_scanner_dir, 'gst-plugin-scanner
if not get_option('tests').disabled() and gst_check_dep.found()
subdir('check')
subdir('icles')
subdir('interactive')
subdir('validate')
endif
if not get_option('examples').disabled()

View file

@ -1,6 +1,6 @@
if not get_option('tests').disabled() and gstcheck_dep.found()
subdir('check')
subdir('icles')
subdir('interactive')
endif
if not get_option('examples').disabled()