[Cogl] [PATCH 7/8] tests: Don't use g_test_verbose() as cogl doesn't use GTest anymore

Damien Lespiau damien.lespiau at gmail.com
Mon Sep 17 12:09:23 PDT 2012


From: Damien Lespiau <damien.lespiau at intel.com>

But use cogl_test_verbose() instead.
---
 tests/conform/test-read-texture-formats.c  |    2 +-
 tests/conform/test-write-texture-formats.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/conform/test-read-texture-formats.c b/tests/conform/test-read-texture-formats.c
index c8d355a..b35e6f2 100644
--- a/tests/conform/test-read-texture-formats.c
+++ b/tests/conform/test-read-texture-formats.c
@@ -196,6 +196,6 @@ test_read_texture_formats (void)
 
   cogl_object_unref (tex_2d);
 
-  if (g_test_verbose ())
+  if (cogl_test_verbose ())
     g_print ("OK\n");
 }
diff --git a/tests/conform/test-write-texture-formats.c b/tests/conform/test-write-texture-formats.c
index aac3290..cb820bf 100644
--- a/tests/conform/test-write-texture-formats.c
+++ b/tests/conform/test-write-texture-formats.c
@@ -174,6 +174,6 @@ test_write_texture_formats (void)
                   2, 0xff, 10, 0x56, 10, 0x34, 10, 0x12,
                   -1);
 
-  if (g_test_verbose ())
+  if (cogl_test_verbose ())
     g_print ("OK\n");
 }
-- 
1.7.7.5



More information about the Cogl mailing list