[Mesa-dev] [PATCH] tests: Use printf instead of debug_printf in u_format_compatible_test.

Brian Paul brianp at vmware.com
Thu Oct 25 07:59:16 PDT 2012


On 10/25/2012 12:40 AM, Vinson Lee wrote:
> Use printf instead of debug_printf to be consistent with print
> statements in rest of unit tests.
>
> This also fixes the lack of print output with the MinGW build of
> u_format_compatible_test.
>
> Signed-off-by: Vinson Lee<vlee at freedesktop.org>
> ---
>   src/gallium/tests/unit/u_format_compatible_test.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/tests/unit/u_format_compatible_test.c b/src/gallium/tests/unit/u_format_compatible_test.c
> index c655c35..de97bc2 100644
> --- a/src/gallium/tests/unit/u_format_compatible_test.c
> +++ b/src/gallium/tests/unit/u_format_compatible_test.c
> @@ -57,7 +57,7 @@ test_all(void)
>            }
>
>   	 if (util_is_format_compatible(src_format_desc, dst_format_desc)) {
> -	    debug_printf("%s ->  %s\n", src_format_desc->short_name, dst_format_desc->short_name);
> +	    printf("%s ->  %s\n", src_format_desc->short_name, dst_format_desc->short_name);
>   	 }
>         }
>      }


Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list