diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-01-11 16:42:03 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-12-19 18:57:01 +0100 |
commit | 6450951d20d05351cb58029007c35bb92014ef26 (patch) | |
tree | 722bb1b508d288964be27a26bf8f9d8858979cdf /tests | |
parent | 28b2aff958ec7d2fb7c81f7c8831f2d157e85406 (diff) | |
download | gdk-pixbuf-6450951d20d05351cb58029007c35bb92014ef26.tar.gz |
tests: add jp2 test case to pixbuf-threads
In case jp2 is supported, add a test to pixbuf-threads for it,
since seems is the place where most of the format tests are performed.
The image used as a test is the one provided by upstream libjasper.
https://bugzilla.gnome.org/show_bug.cgi?id=760474
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pixbuf-threads.c | 2 | ||||
-rw-r--r-- | tests/test-images/randomly-modified/valid.1.jp2 | bin | 0 -> 1987968 bytes |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/pixbuf-threads.c b/tests/pixbuf-threads.c index 8ea15a158..0690acd82 100644 --- a/tests/pixbuf-threads.c +++ b/tests/pixbuf-threads.c @@ -88,6 +88,8 @@ test_threads (void) g_thread_pool_push (pool, "valid.1.tga", NULL); if (format_supported ("tiff")) g_thread_pool_push (pool, "valid.1.tiff", NULL); + if (format_supported ("jp2")) + g_thread_pool_push (pool, "valid.1.jp2", NULL); } g_thread_pool_free (pool, FALSE, TRUE); diff --git a/tests/test-images/randomly-modified/valid.1.jp2 b/tests/test-images/randomly-modified/valid.1.jp2 Binary files differnew file mode 100644 index 000000000..5fc8bdb19 --- /dev/null +++ b/tests/test-images/randomly-modified/valid.1.jp2 |