summaryrefslogtreecommitdiff
path: root/test/create-from-png.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-08-17 15:30:51 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-08-17 15:30:51 +0100
commit37bca38772af1ff206f6bba00f217dc59504ecca (patch)
tree298f802be7a553e07cb10c5c80d6907be8ada9b8 /test/create-from-png.c
parent3dc8e2dd0d42572c6e97af8bd676c02dded13d7f (diff)
downloadcairo-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.c3
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);
}