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

Robert Bragg robert at sixbynine.org
Tue Sep 18 07:42:15 PDT 2012


This looks good to land to me:

Reviewed-by: Robert Bragg <robert at linux.intel.com>

thanks,
- Robert

On Mon, Sep 17, 2012 at 8:09 PM, Damien Lespiau
<damien.lespiau at gmail.com> wrote:
> 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
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list