diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-01-22 17:22:11 -0800 |
---|---|---|
committer | Fabian Bieler <fabianbieler@fastmail.fm> | 2018-02-05 19:44:17 +0100 |
commit | 1f9171ea5cfba8166595d31bcb7d6423a4192d27 (patch) | |
tree | d3eb697f7ffdd71652cd3bab4268f27c8678164a /tests | |
parent | 14e2ba8a7da047f6394120913ff668680af3871b (diff) |
tests/fbo-storage-formats: print subtest result for skip too
Because we always want to have the same number of subtests printed, or
they'll show up as "NOTRUN" instead of "SKIP" in the summary.
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Fabian Bieler <fabianbieler@fastmail.fm>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fbo/fbo-storage-formats.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fbo/fbo-storage-formats.c b/tests/fbo/fbo-storage-formats.c index 9cf8c675a..7f136846d 100644 --- a/tests/fbo/fbo-storage-formats.c +++ b/tests/fbo/fbo-storage-formats.c @@ -190,8 +190,10 @@ test(void) for (i = 0; i < ARRAY_SIZE(formats); i++) { const char *name = piglit_get_gl_enum_name(formats[i].format); - if (!have_extension[formats[i].extension]) + if (!have_extension[formats[i].extension]) { + piglit_report_subtest_result(PIGLIT_SKIP, "%s", name); continue; + } glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, formats[i].format, piglit_width, piglit_height); |