From 09080073ff724cf7a13e23edd1dfef7c8c98f727 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 21 Nov 2019 18:28:51 +0100 Subject: build: setup plugin selection logic --- plugins/tests/test-keyfiles.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/tests/test-keyfiles.c') diff --git a/plugins/tests/test-keyfiles.c b/plugins/tests/test-keyfiles.c index 18037f1f..89ecbb30 100644 --- a/plugins/tests/test-keyfiles.c +++ b/plugins/tests/test-keyfiles.c @@ -12,6 +12,7 @@ * * Copyright (C) 2018 Aleksander Morgado */ +#include #include #include @@ -42,11 +43,13 @@ common_test (const gchar *keyfile_path) /************************************************************/ +#if defined ENABLE_PLUGIN_FOXCONN static void test_foxconn_t77w968 (void) { common_test (TESTKEYFILE_FOXCONN_T77W968); } +#endif /************************************************************/ @@ -76,7 +79,9 @@ int main (int argc, char **argv) g_test_init (&argc, &argv, NULL); +#if defined ENABLE_PLUGIN_FOXCONN g_test_add_func ("/MM/test-keyfiles/foxconn/t77w968", test_foxconn_t77w968); +#endif return g_test_run (); } -- cgit v1.2.3-70-g09d2