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

Vinson Lee vlee at freedesktop.org
Wed Oct 24 23:40:33 PDT 2012


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);
 	 }
       }
    }
-- 
1.7.12.1



More information about the mesa-dev mailing list