Remove test for GNOME#753605

It relies on a non-free JPEG that happens to exhibit the bug.

Gbp-Pq: Name Remove-test-for-GNOME-753605.patch
This commit is contained in:
Simon McVittie 2018-07-26 09:55:34 +01:00 committed by openKylinBot
parent 7fb1b28b7e
commit d975ca782c
2 changed files with 0 additions and 24 deletions

View File

@ -87,7 +87,6 @@ test_data = [
'bug143608-comment.jpg',
'bug725582-testrotate.jpg',
'bug725582-testrotate.png',
'bug753605-atsize.jpg',
'cve-2015-4491.bmp',
'large.png',
'large.jpg',

View File

@ -115,28 +115,6 @@ test_comment(void)
g_object_unref (ref);
}
static void
test_at_size (void)
{
GError *error = NULL;
GdkPixbuf *ref;
if (!format_supported ("jpeg") || !format_supported ("png"))
{
g_test_skip ("format not supported");
return;
}
ref = gdk_pixbuf_new_from_file (g_test_get_filename (G_TEST_DIST, "bug753605-atsize.jpg", NULL), &error);
g_assert_no_error (error);
g_object_unref (ref);
ref = gdk_pixbuf_new_from_file_at_size (g_test_get_filename (G_TEST_DIST, "bug753605-atsize.jpg", NULL),
50, 50, &error);
g_assert_no_error (error);
g_object_unref (ref);
}
int
main (int argc, char **argv)
{
@ -146,7 +124,6 @@ main (int argc, char **argv)
g_test_add_func ("/pixbuf/jpeg/type9_rotation_exif_tag", test_type9_rotation_exif_tag);
g_test_add_func ("/pixbuf/jpeg/bug775218", test_bug_775218);
g_test_add_func ("/pixbuf/jpeg/comment", test_comment);
g_test_add_func ("/pixbuf/jpeg/at_size", test_at_size);
return g_test_run ();
}