build: disable Test interface in base manager if building without tests

There is no real need for this interface if tests are not being built.
This commit is contained in:
Aleksander Morgado
2022-11-07 14:25:34 +00:00
parent 7ea2452b1e
commit 634f6cbcbc
6 changed files with 65 additions and 20 deletions
+2
View File
@@ -45,7 +45,9 @@ gboolean mm_context_get_log_personal_info (void);
/* Testing support */
gboolean mm_context_get_test_session (void);
#if defined WITH_TESTS
gboolean mm_context_get_test_enable (void);
#endif
const gchar *mm_context_get_test_plugin_dir (void);
#if defined WITH_UDEV
gboolean mm_context_get_test_no_udev (void);