aboutsummaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-clear-formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-clear-formats.c')
-rw-r--r--tests/fbo/fbo-clear-formats.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/fbo/fbo-clear-formats.c b/tests/fbo/fbo-clear-formats.c
index 14dd5a11..f6b2a727 100644
--- a/tests/fbo/fbo-clear-formats.c
+++ b/tests/fbo/fbo-clear-formats.c
@@ -513,6 +513,9 @@ test_format(const struct format_desc *format)
tex = create_tex(format->internalformat, format->base_internal_format);
if (tex == 0) {
printf(" - FBO incomplete\n");
+ piglit_report_subtest_result(PIGLIT_SKIP,
+ "%s (fbo incomplete)",
+ format->name);
return PIGLIT_SKIP;
}
printf("\n");
@@ -550,6 +553,8 @@ test_format(const struct format_desc *format)
glDeleteTextures(1, &tex);
+ piglit_report_subtest_result(pass ? PIGLIT_PASS : PIGLIT_FAIL,
+ format->name);
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}