element: Enforce that elements created by gst_element_factory_create/make() are floating
[platform/upstream/gstreamer.git] / tests / meson.build
index e6b1cfd..324355c 100644 (file)
@@ -1,9 +1,12 @@
-subdir('benchmarks')
-# FIXME: make check work on windows
-if host_machine.system() != 'windows'
-subdir('check')
+if not get_option('benchmarks').disabled()
+  subdir('benchmarks')
 endif
-if not get_option('disable_examples')
+if not get_option('tests').disabled() and gst_check_dep.found()
+  subdir('check')
+endif
+if not get_option('examples').disabled()
   subdir('examples')
 endif
-subdir('misc')
+if not get_option('tools').disabled()
+  subdir('misc')
+endif