Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tim-Philipp Müller
gst-plugins-base
Commits
30b5d789
Commit
30b5d789
authored
Jan 16, 2019
by
Tim-Philipp Müller
🐠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meson: enable tests for orc code
parent
37b56c97
Pipeline
#15081
passed with stages
in 22 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
9 deletions
+31
-9
tests/check/meson.build
tests/check/meson.build
+31
-9
No files found.
tests/check/meson.build
View file @
30b5d789
...
...
@@ -109,15 +109,6 @@ if have_cxx
]
endif
# FIXME: enable orc testing
#orc_tests = [
# 'orc/video',
# 'orc/audio',
# 'orc/adder',
# 'orc/volume',
# 'orc/videotestsrc'
#]
test_defines = [
'-UG_DISABLE_ASSERT',
'-UG_DISABLE_CAST_CHECKS',
...
...
@@ -196,3 +187,34 @@ foreach group : [1, 2, 3, 4, 5, 6]
test(vscale_test_name, exe, env: env, timeout: 3 * 60)
endforeach
# orc tests
orc_tests = [
['orc_audio', files('../../gst-libs/gst/audio/gstaudiopack.orc')],
['orc_video', files('../../gst-libs/gst/video/video-orc.orc')],
['orc_adder', files('../../gst/adder/gstadderorc.orc')],
['orc_audiomixer', files('../../gst/audiomixer/gstaudiomixerorc.orc')],
['orc_compositor', files('../../gst/compositor/compositororc.orc')],
['orc_volume', files('../../gst/volume/gstvolumeorc.orc')],
['orc_videotestsrc', files('../../gst/videotestsrc/gstvideotestsrcorc.orc')],
]
if have_orcc
# FIXME: there should really just be a separate orc-test-0.4.pc file for this
if orc_dep.type_name() == 'pkgconfig'
orc_test_dep = cc.find_library('orc-test-0.4', dependencies: orc_dep)
else
orc_test_dep = dependency('', fallback: ['orc', 'orc_test_dep'])
endif
foreach t : orc_tests
tname = t[0]
torcfile = t[1]
tcfilename = '@0@.c'.format(tname)
test_c = custom_target(tcfilename,
output: tcfilename,
input: torcfile,
command: [orcc, '--include', 'stdint.h', '--test', '-o', '@OUTPUT@', '@INPUT@'])
test_exe = executable(tname, test_c, dependencies: [orc_dep, orc_test_dep])
test(tname, test_exe)
endforeach
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment