---
 tests/texturing/texwrap.c |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/tests/texturing/texwrap.c b/tests/texturing/texwrap.c
index d486f17..645da1b 100644
--- a/tests/texturing/texwrap.c
+++ b/tests/texturing/texwrap.c
@@ -1068,15 +1068,16 @@ static GLboolean test_format_npot_swizzle(const struct 
format_desc *format,
                update_swizzle(texswizzle);
        }
 
-       printf("Testing %s%s%s%s%s\n", format->name,
-              npot ? ", NPOT" : "",
-              texswizzle ? ", swizzled" : "",
-              texture_proj ? ", projected" : "",
-              test_border_color ? ", border color only" : "");
-
        draw(format, npot, texture_proj);
        pass = probe_pixels(format, npot, texswizzle);
        piglit_present_results();
+
+       piglit_report_subtest_result(pass ? PIGLIT_PASS : PIGLIT_FAIL,
+                                    "%s%s%s%s%s", format->name,
+                                    npot ? ", NPOT" : "",
+                                    texswizzle ? ", swizzled" : "",
+                                    texture_proj ? ", projected" : "",
+                                    test_border_color ? ", border color only" 
: "");
        return pass;
 }
 
-- 
1.7.10.4

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to