summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2021-04-14 22:08:13 -0400
committerMatt Turner <mattst88@gmail.com>2021-04-15 09:27:33 -0400
commitac76963d8649c539ea83b62232fdd58558487a7a (patch)
tree1470037098ecf6f6e2c275a78aed610196ce1a23
parentee03499420b0e9547b6aeb93a4b61b88f31e0ffa (diff)
downloadgrilo-plugins-ac76963d8649c539ea83b62232fdd58558487a7a.tar.gz
build: Only run tracker3 test when enabled
Previously -Denable-tracker3=no would not build the tracker3 plugin but if the dependency was found on the system the unit test would still be enabled (and would fail).
-rw-r--r--tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 97e196d..7ba2236 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -39,6 +39,6 @@ if local_metadata_enabled and lua_factory_enabled
subdir('local-metadata')
endif
-if tracker3_dep.found() and tracker3_testutils_dep.found()
+if get_option('enable-tracker3') != 'no' and tracker3_dep.found() and tracker3_testutils_dep.found()
subdir('tracker3')
endif