Merge branch 'thorough-tests-in-ci' into 'main'

build: Add thorough test setup

See merge request GNOME/glib!3838
This commit is contained in:
Philip Withnall
2024-02-02 14:33:22 +00:00
6 changed files with 39 additions and 28 deletions

View File

@@ -1157,7 +1157,6 @@ test_interface_default_init (TestInterfaceInterface *iface)
g_object_interface_install_property (iface, pspec);
g_test_assert_expected_messages ();
g_param_spec_unref (pspec);
continue;
}
@@ -1432,7 +1431,7 @@ test_param_implement (void)
case 'i':
g_test_trap_assert_failed ();
g_test_trap_assert_stderr ("*g_object_class_install_property*");
g_test_trap_assert_stderr ("*pspec->flags*");
continue;
case 'f':
@@ -1671,8 +1670,7 @@ main (int argc, char *argv[])
data.change_this_flag, data.change_this_type,
data.use_this_flag, data.use_this_type);
test_data = g_memdup2 (&data, sizeof (TestParamImplementData));
g_test_add_data_func_full (test_path, test_data, test_param_implement_child, g_free);
g_free (test_data);
g_test_add_data_func_full (test_path, g_steal_pointer (&test_data), test_param_implement_child, g_free);
g_free (test_path);
}