summaryrefslogtreecommitdiff
path: root/test/cairo-test.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-11 09:12:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-06-11 09:14:16 +0100
commitbd3d9ef3d1dbc5364e79e6afb47d9e124cb61ca4 (patch)
treea7c28421bab79a312d60ec7273a593e85572dd8b /test/cairo-test.h
parenteeafeebd2ec8ad8a9e7053aaaa0f845b58563b3b (diff)
downloadcairo-bd3d9ef3d1dbc5364e79e6afb47d9e124cb61ca4.tar.gz
test: Distinguish tests that throw an error from a normal fail.
Hitting an error in a test case is almost as bad as crashing, and the severity may be lost amidst "normal" failures. So introduce a new class of ERROR so that we can immediately spot these during a test run, and appropriately log them afterwards.
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r--test/cairo-test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h
index 53db80b69..e2bf1a759 100644
--- a/test/cairo-test.h
+++ b/test/cairo-test.h
@@ -124,6 +124,7 @@ typedef enum cairo_test_status {
CAIRO_TEST_FAILURE,
CAIRO_TEST_NEW,
CAIRO_TEST_XFAILURE,
+ CAIRO_TEST_ERROR,
CAIRO_TEST_CRASHED,
CAIRO_TEST_UNTESTED = 77 /* match automake's skipped exit status */
} cairo_test_status_t;