summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-01-22 17:22:09 -0800
committerFabian Bieler <fabianbieler@fastmail.fm>2018-02-05 19:44:17 +0100
commit997f73ea2f1343c5c7b05c7c91c10f69404a0fc4 (patch)
tree5ce5ace8766dd557a03616a5b9aa6e67b1bf7c17
parent73426d48d50e123a26ea58001dd9c2e225e2b29e (diff)
tests/fbo-storage-formats: Always print the same number of subtests
!skip -> skip won't show up in the regressions/fixes/etc lists anyway, and this means that the output will always be the same. Signed-off-by: Fabian Bieler <fabianbieler@fastmail.fm> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
-rw-r--r--tests/fbo/fbo-storage-formats.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fbo/fbo-storage-formats.c b/tests/fbo/fbo-storage-formats.c
index 3ecd07a76..91b80e09d 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;