diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-09-27 17:03:13 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2016-09-27 18:39:00 +0200 |
commit | 371a1e2d878b314360a56ce09aa81061710e1f43 (patch) | |
tree | 38788d2efcc242c5ef4b258e1dec3b63920c51db | |
parent | 9fc48c31a0a61374f6eff26c7e7af6283676e7b3 (diff) | |
download | NetworkManager-371a1e2d878b314360a56ce09aa81061710e1f43.tar.gz |
libnm-core/tests: disable the JSON validation check without jansson
(cherry picked from commit 67999ef2d32749282e051e674fb982eebc403fa0)
-rw-r--r-- | libnm-core/tests/test-keyfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-core/tests/test-keyfile.c b/libnm-core/tests/test-keyfile.c index 4ec6b806cd..b9b211b68b 100644 --- a/libnm-core/tests/test-keyfile.c +++ b/libnm-core/tests/test-keyfile.c @@ -545,6 +545,7 @@ test_team_conf_read_valid (void) static void test_team_conf_read_invalid (void) { +#if WITH_JANSSON GKeyFile *keyfile = NULL; gs_unref_object NMConnection *con = NULL; NMSettingTeam *s_team; @@ -563,6 +564,7 @@ test_team_conf_read_invalid (void) g_assert (nm_setting_team_get_config (s_team) == NULL); CLEAR (&con, &keyfile); +#endif } /******************************************************************************/ |