[Piglit] [PATCH 08/15] tests/fbo-storage-formats: Always print the same number of subtests
Dylan Baker
dylan at pnwbakers.com
Tue Jan 23 01:22:09 UTC 2018
!skip -> skip won't show up in the regressions/fixes/etc lists anyway,
and this means that the output will always be the same.
---
tests/fbo/fbo-storage-formats.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/fbo/fbo-storage-formats.c b/tests/fbo/fbo-storage-formats.c
index 3ecd07a..91b80e0 100644
--- a/tests/fbo/fbo-storage-formats.c
+++ b/tests/fbo/fbo-storage-formats.c
@@ -223,6 +223,12 @@ test(void)
piglit_report_subtest_result(PIGLIT_PASS, "%s", name);
}
}
+ } else {
+ printf("Skipping error tests because KHR_NO_ERROR is enabled\n");
+ for (i = 0; i < ARRAY_SIZE(invalid_formats); i++) {
+ const char *name = piglit_get_gl_enum_name(invalid_formats[i]);
+ piglit_report_subtest_result(PIGLIT_SKIP, "%s", name);
+ }
}
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
--
git-series 0.9.1
More information about the Piglit
mailing list