diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-11-21 18:28:51 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-11-27 10:11:43 +0000 |
commit | 09080073ff724cf7a13e23edd1dfef7c8c98f727 (patch) | |
tree | 163e59641cc80dd586fc2bc5ac20ec129852341c /plugins/tests/test-keyfiles.c | |
parent | 1d1f597b5534d01d2df61a1543ed549ac9a3621b (diff) |
build: setup plugin selection logic
Diffstat (limited to 'plugins/tests/test-keyfiles.c')
-rw-r--r-- | plugins/tests/test-keyfiles.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <aleksander@aleksander.es> */ +#include <config.h> #include <glib.h> #include <glib-object.h> @@ -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 (); } |