[Piglit] [PATCH 14/15] arb_texture_buffer_object/formats: Report subtest results.

Eric Anholt eric at anholt.net
Mon Jan 14 10:55:41 PST 2013


---
 tests/spec/arb_texture_buffer_object/formats.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/spec/arb_texture_buffer_object/formats.c b/tests/spec/arb_texture_buffer_object/formats.c
index b89781e..db97087 100644
--- a/tests/spec/arb_texture_buffer_object/formats.c
+++ b/tests/spec/arb_texture_buffer_object/formats.c
@@ -415,8 +415,6 @@ test_format(int format_index)
 	if (is_rg && piglit_get_gl_version() < 31)
 		return PIGLIT_SKIP;
 
-	printf("Testing %s\n", piglit_get_gl_enum_name(format->format));
-
 	glGenBuffers(1, &bo);
 	glBindBuffer(GL_TEXTURE_BUFFER, bo);
 
@@ -535,6 +533,8 @@ test_format(int format_index)
 
 	y_index++;
 
+	piglit_report_subtest_result(pass ? PIGLIT_PASS : PIGLIT_FAIL,
+				     piglit_get_gl_enum_name(format->format));
 	return pass ? PIGLIT_PASS : PIGLIT_FAIL;
 }
 
-- 
1.7.10.4



More information about the Piglit mailing list