examples: Add an option to disable tests

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3930>
This commit is contained in:
Thibault Saunier 2021-09-14 18:38:22 -03:00 committed by GStreamer Marge Bot
parent fc5bad5f75
commit 0f577533e6
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1 @@
option('tests', type : 'feature', value : 'auto', yield : true, description: 'Build tests')

View file

@ -27,4 +27,6 @@ subdir('signalling')
subdir('sendonly')
subdir('sendrecv')
subdir('check')
if not get_option('tests').disabled()
subdir('check')
endif