!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
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to