Mesa (master): tests: Use printf instead of debug_printf in u_format_compatible_test.

Vinson Lee vlee at kemper.freedesktop.org
Fri Oct 26 06:10:44 UTC 2012


Module: Mesa
Branch: master
Commit: 8cb2a4a7f506ea08d4adab0aeda5fcf753cd95e5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cb2a4a7f506ea08d4adab0aeda5fcf753cd95e5

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Wed Oct 24 23:25:08 2012 -0700

tests: Use printf instead of debug_printf in u_format_compatible_test.

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>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/gallium/tests/unit/u_format_compatible_test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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




More information about the mesa-commit mailing list