aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-01-14 09:54:41 -0800
committerEric Anholt <eric@anholt.net>2013-01-21 12:47:34 -0800
commit83f87c9a64d7e16067f46855739627cc7d458edf (patch)
tree34994e892d989a3bb1901e284c0a91fbc1e82f12
parent67cb4cb61654451f8e8d7615d157a9114eb0bc33 (diff)
downloadpiglit-83f87c9a64d7e16067f46855739627cc7d458edf.tar.gz
arb_texture_buffer_object/formats: Report subtest results.
v2: Leave printfs in place. Reviewed-by: Carl Worth <cworth@cworth.org> Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--tests/spec/arb_texture_buffer_object/formats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/spec/arb_texture_buffer_object/formats.c b/tests/spec/arb_texture_buffer_object/formats.c
index cbb3b41b..bafb743f 100644
--- a/tests/spec/arb_texture_buffer_object/formats.c
+++ b/tests/spec/arb_texture_buffer_object/formats.c
@@ -536,6 +536,8 @@ test_format(int format_index)
glUseProgram(0);
y_index++;
+ piglit_report_subtest_result(pass ? PIGLIT_PASS : PIGLIT_FAIL,
+ piglit_get_gl_enum_name(format->format));
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}