diff options
author | Carl Worth <cworth@cworth.org> | 2006-03-10 16:37:50 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-05-03 23:44:59 -0700 |
commit | 40b39dddf9cd919fb2f456a8e296a60cc8296fbf (patch) | |
tree | e8d427f9fbf3d03df89e3774c4a06ca26ce3a218 /test/text-pattern.c | |
parent | b3e2252b94297b7fbdbd3a3776781ea6df7c8bc6 (diff) | |
download | cairo-40b39dddf9cd919fb2f456a8e296a60cc8296fbf.tar.gz |
Shrink the size of a couple of tests (and update reference images).
Shrink linear-gradient and text-pattern test outuput.
The real motivation for this is to hide an annoying difference in the
gradient output that occurs when under the influence of a device
offsets. My opinion is that the gradient output should not change due
to just an integer offset, but we currently don't have a precise
gradient specification, so this minor deviation really isn't relevant.
A better fix for this might have been to make the test suite more
forgiving of tiny differences, (perhaps on a per-test basis), but
another advantage of shrinking these tests is that they now run a lot
faster.
It is true that these tests now also exercise fewer different output
values, but that's not the designed purpose of the tests so I don't
feel bad about losing that characteristic.
Diffstat (limited to 'test/text-pattern.c')
-rw-r--r-- | test/text-pattern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/text-pattern.c b/test/text-pattern.c index bf7a5e28b..ba4e8696f 100644 --- a/test/text-pattern.c +++ b/test/text-pattern.c @@ -25,8 +25,8 @@ #include "cairo-test.h" -#define IMAGE_WIDTH 100 -#define IMAGE_HEIGHT 100 +#define IMAGE_WIDTH 64 +#define IMAGE_HEIGHT 64 cairo_test_t test = { "text-pattern", |