summaryrefslogtreecommitdiff
path: root/tests/pixbuf-randomly-modified.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Limit the number of bytes we modify per test to 100Benjamin Otte2015-10-131-2/+4
| | | | | It doesn't make sense to use file_size / 4 because once a file is broken, it's broken. Breaking it even more is not very useful.
* tests: use g_test_rand_int_range()Benjamin Otte2015-10-131-2/+2
| | | | | ... instead of g_random_int_range() so that the GTest seed machinery actually works.
* tests: Move failing images into seperate directoryBenjamin Otte2015-10-131-6/+14
|
* tests: Don't set RLIMIT_ASBenjamin Otte2015-10-131-3/+0
| | | | | When using gio and threads, 64bit code gets unhappy about a limited address space.
* tests: Make add_test_for_all_images() GFile basedBenjamin Otte2015-10-131-3/+6
| | | | | Use that to make pixbuf-reftest accept arguments on the command line to specify a file to test.
* tests: Allow passing a filter function when adding all filesBenjamin Otte2015-10-131-1/+1
| | | | ... and use it to not add reference images.
* tests: Move test imagesBenjamin Otte2015-10-131-1/+1
| | | | | | Make test-images/ a directory only containing subdirectories for ease of maintenance. Move all images from that directory to test-images/randomly-modified.
* pixbuf-randomly-modified: Use the new helperMatthias Clasen2015-10-131-14/+4
| | | | | | | Use the new helper function. This fixes the problem that the test previously had with subdirectories in test-images. The helper function will recurse into any subdirectory it finds.
* Updated FSF's addressDaniel Mustieles2014-01-311-2/+1
|
* Convert pixbuf-randomly-modified testMatthias Clasen2013-12-191-116/+36
| | | | | Make this test use g_test_run, so it is compatible with using TAP.
* Drop unneed g_type_init callsMatthias Clasen2013-12-181-3/+0
| | | | | We have been requiring a new-enough GLib for a while now, so drop this unnecessary clutter.
* Add more configure checksMatthias Clasen2013-10-231-1/+6
| | | | | | Oh portability / how I hate thee. https://bugzilla.gnome.org/show_bug.cgi?id=710690
* RLIMIT_AS: make sure it is defined before using itAntoine Jacoutot2013-09-241-0/+2
| | | | | | | Not all operating systems provide RLIMIT_AS, so make sure it is defined before we try to use it. https://bugzilla.gnome.org/show_bug.cgi?id=708666
* Further reduce pixbuf-randomly-modified testMatthias Clasen2013-09-231-1/+9
| | | | | | In order to not have distcheck DOS my machine, reduce the number of iterations to 1, and limit the amount of memory the test is allowed to consume.
* tests/pixbuf-randomly-modified: Drop iterations to 10Colin Walters2013-06-241-1/+1
| | | | | | 1000 iterations takes far too long for automated testing; we'll get incremental coverage over time even with just 10, and the test can of course be run manually.
* tests: Fix up pixbuf tests to know how to find data filesColin Walters2013-06-241-5/+27
| | | | | | | | | These tests were broken by: 8ec55ff29e0626a05a3aa9d92060e28767ee142f Previously we were relying on hand-written .test files which used sh -c and wildcard expansion, but with modern GLib we can just use g_test_get_dir() to find the datadir relative to our binary path.
* Make this test silent by defaultMatthias Clasen2013-05-311-4/+9
|
* Install some pixbuf testsMatthias Clasen2013-05-221-8/+12
| | | | | | Make it possible to limit the iterations of the pixbuf-threads and pixbuf-randomly-modified tests, and run them installed on some of the test images in tests/test-images.
* More deprecation cleanupMatthias Clasen2013-01-101-1/+3
| | | | Avoid deprecation warnings for g_type_init and g_thread_init.
* Add pure gdk-pixbuf tests from GTK+Matthias Clasen2010-06-261-0/+159