diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-02-11 16:45:18 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-02-15 13:50:43 +0000 |
commit | eb7488e1e67b872d29d1bd459bb7994ad3789576 (patch) | |
tree | 376830500802dada7bb74a56be9f9dd12e4c61be /test/invalid-matrix.c | |
parent | fc732c3aaa53d8abcea46ad28da696ad08d09b63 (diff) | |
download | cairo-eb7488e1e67b872d29d1bd459bb7994ad3789576.tar.gz |
[test/invalid-matrix] Promote incorrect status warning to an error.
As the last warning for an incorrect status has been resolved, throw an
error if we regress and no longer report an INVALID_MATRIX under testing.
Diffstat (limited to 'test/invalid-matrix.c')
-rw-r--r-- | test/invalid-matrix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/invalid-matrix.c b/test/invalid-matrix.c index 0f0ef0c56..77534e7a3 100644 --- a/test/invalid-matrix.c +++ b/test/invalid-matrix.c @@ -57,11 +57,12 @@ if ((status) == CAIRO_STATUS_SUCCESS) { \ (function_name)); \ return CAIRO_TEST_FAILURE; \ } else if ((status) != CAIRO_STATUS_INVALID_MATRIX) { \ - cairo_test_log ("Warning: %s with invalid matrix returned unexpected status " \ + cairo_test_log ("Error: %s with invalid matrix returned unexpected status " \ "(%d): %s\n", \ (function_name), \ status, \ cairo_status_to_string (status)); \ + return CAIRO_TEST_FAILURE; \ } /* create a bogus matrix and check results of attempted inversion */ |