mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01:00
Merge branch 'wip/pwithnall/backport-4152-resolver-parsing-bsd-glib-2-80' into 'glib-2-80'
Backport !4152 “tests: Fix compilation of resolver-parsing test on FreeBSD” to glib-2-80 See merge request GNOME/glib!4153
This commit is contained in:
commit
6e8bb55020
@ -227,6 +227,10 @@ test_invalid_header (void)
|
|||||||
static void
|
static void
|
||||||
test_record_ownership (void)
|
test_record_ownership (void)
|
||||||
{
|
{
|
||||||
|
#ifndef HAVE_DN_COMP
|
||||||
|
g_test_skip ("The dn_comp() function was not available.");
|
||||||
|
return;
|
||||||
|
#else
|
||||||
GByteArray *answer = NULL, *txt_rdata = NULL;
|
GByteArray *answer = NULL, *txt_rdata = NULL;
|
||||||
GList *records = NULL;
|
GList *records = NULL;
|
||||||
GError *local_error = NULL;
|
GError *local_error = NULL;
|
||||||
@ -261,6 +265,7 @@ test_record_ownership (void)
|
|||||||
|
|
||||||
g_list_free_full (records, (GDestroyNotify) g_variant_unref);
|
g_list_free_full (records, (GDestroyNotify) g_variant_unref);
|
||||||
g_byte_array_free (answer, TRUE);
|
g_byte_array_free (answer, TRUE);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user