aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-01-14 09:48:43 -0800
committerEric Anholt <eric@anholt.net>2013-01-21 12:46:53 -0800
commit1a5aa150e7cad9a4aa23a694021266b72db34d6f (patch)
tree738b867d75db95e3364fb9a1af6e9617915fd9c9
parentb06eff7c055bf148024345d288f6081afac2326e (diff)
downloadpiglit-1a5aa150e7cad9a4aa23a694021266b72db34d6f.tar.gz
fbo-clear-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/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;
}