mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 20:30:35 +01:00
libnm-core/tests: disable the JSON validation check without jansson
This commit is contained in:
parent
4d7cf9a16d
commit
67999ef2d3
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue