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<v...@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 <bri...@vmware.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to