[grilo-plugins] build: Only run tracker3 test when enabled
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] build: Only run tracker3 test when enabled
- Date: Thu, 15 Apr 2021 13:46:32 +0000 (UTC)
commit ac76963d8649c539ea83b62232fdd58558487a7a
Author: Matt Turner <mattst88 gmail com>
Date: Wed Apr 14 22:08:13 2021 -0400
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).
tests/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 97e196db..7ba2236b 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]