summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-06-27 16:44:08 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-12-10 15:34:01 -0800
commit96a0dea4a0e53cda007da853f530fd9ca1c79e5d (patch)
tree5cac1e3c2709818d85073551dde549b65e82c1c7
parentea7823d7b0ff93fd8ba894989c7723af82a1732c (diff)
mesa_pack_invert/readpixels: enumerate subtests
It's not immediately obvious whether this test is suitable for piglit_run_selected_subtests, so just enumerate the subtests it has so that the framework can catch crashes.
-rw-r--r--tests/spec/mesa_pack_invert/readpixels.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/spec/mesa_pack_invert/readpixels.c b/tests/spec/mesa_pack_invert/readpixels.c
index e7194d0e2..5aec9cc95 100644
--- a/tests/spec/mesa_pack_invert/readpixels.c
+++ b/tests/spec/mesa_pack_invert/readpixels.c
@@ -207,4 +207,13 @@ void piglit_init(int argc, char **argv)
piglit_require_extension("GL_ARB_pixel_buffer_object");
piglit_require_extension("GL_MESA_pack_invert");
piglit_require_extension("GL_EXT_bgra");
+
+ const char * names[] = {
+ "non-PBO unorm BGRA",
+ "PBO unorm BGRA",
+ "non-PBO float RGBA",
+ "PBO float RGBA",
+ NULL,
+ };
+ piglit_register_subtests(names);
}