[cairo-commit] test/api-special-cases.c

Benjamin Otte company at kemper.freedesktop.org
Mon Jul 5 15:49:01 PDT 2010


 test/api-special-cases.c |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 82de6336d88be43de759b94634e87b9e4a8391b1
Author: Benjamin Otte <otte at redhat.com>
Date:   Tue Jul 6 00:48:36 2010 +0200

    test: Add note about how to fix failures to api-special-cases

diff --git a/test/api-special-cases.c b/test/api-special-cases.c
index b4b4c0a..3a1d7e9 100644
--- a/test/api-special-cases.c
+++ b/test/api-special-cases.c
@@ -48,6 +48,12 @@
  *    - TRUE if the function modifies the surface, FALSE otherwise
  *    - the surface type for which the function is valid or -1 if it is valid
  *      for all surface types.
+ *
+ * FIXING FAILURES
+ *
+ * The test will dump failures notices into the api-special-cases.log file (when 
+ * it doesn't crash). These should be pretty self-explanatory. Usually it is 
+ * enough to just add a new check to the function it complained about.
  */
 
 #ifdef HAVE_CONFIG_H


More information about the cairo-commit mailing list