diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-17 15:30:51 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-17 15:30:51 +0100 |
commit | 37bca38772af1ff206f6bba00f217dc59504ecca (patch) | |
tree | 298f802be7a553e07cb10c5c80d6907be8ada9b8 /test/create-from-png.c | |
parent | 3dc8e2dd0d42572c6e97af8bd676c02dded13d7f (diff) | |
download | cairo-37bca38772af1ff206f6bba00f217dc59504ecca.tar.gz |
[test/create-from-png] Return the failure.
Having checked all the possible PNG formats, report any failures.
Diffstat (limited to 'test/create-from-png.c')
-rw-r--r-- | test/create-from-png.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/create-from-png.c b/test/create-from-png.c index 52831f06c..5ed3f6169 100644 --- a/test/create-from-png.c +++ b/test/create-from-png.c @@ -254,5 +254,8 @@ main (void) cairo_test_fini (&ctx); + if (result != CAIRO_TEST_SUCCESS) + return result; + return cairo_test (&test); } |