[cairo-commit] test/cairo-test.c

Carl Worth cworth at kemper.freedesktop.org
Thu Jul 13 15:23:25 PDT 2006


 test/cairo-test.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

New commits:
diff-tree ff1280ce98ecc9ddee7b63e21eaec3d47ed3df8b (from ebc736730615021b07b851b41c6de79248ca00e4)
Author: Carl Worth <cworth at cworth.org>
Date:   Thu Jul 13 15:08:19 2006 -0700

    cairo-test.c: Prefer FALSE and TRUE for cairo_bool_t values.

diff --git a/test/cairo-test.c b/test/cairo-test.c
index 96ffcba..bcab679 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -1637,7 +1637,7 @@ cairo_test_expecting (cairo_test_t *test
     /* we use volatile here to make sure values are not clobbered
      * by longjmp */
     volatile int i, j, num_targets;
-    volatile cairo_bool_t limited_targets = 0, no_fail_on_stdout = 0;
+    volatile cairo_bool_t limited_targets = FALSE, no_fail_on_stdout = FALSE;
     const char *tname;
     void (*old_segfault_handler)(int);
     volatile cairo_test_status_t status, ret;
@@ -1777,7 +1777,7 @@ cairo_test_expecting (cairo_test_t *test
 	fail_face = "\033[41m\033[37m\033[1m";
 	normal_face = "\033[m";
 	if (isatty (1))
-	    no_fail_on_stdout = 1;
+	    no_fail_on_stdout = TRUE;
     }
 #endif
 
@@ -1794,7 +1794,7 @@ cairo_test_expecting (cairo_test_t *test
 
     if ((tname = getenv ("CAIRO_TEST_TARGET")) != NULL && *tname) {
 
-	limited_targets = 1;
+	limited_targets = TRUE;
 
 	num_targets = 0;
 	targets_to_test = NULL;


More information about the cairo-commit mailing list