element: Enforce that elements created by gst_element_factory_create/make() are floating
[platform/upstream/gstreamer.git] / tests / meson.build
index 72b8cae..324355c 100644 (file)
@@ -1,6 +1,12 @@
-subdir('benchmarks')
-subdir('check')
+if not get_option('benchmarks').disabled()
+  subdir('benchmarks')
+endif
+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