[Piglit] [PATCH 2/9] tests: enumerate subtests in gl-2.1-gbo test

Dylan Baker dylan at pnwbakers.com
Sat Jan 20 00:25:57 UTC 2018


This gives us something to test the python part against.

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
---
 tests/spec/gl-2.1/pbo.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/spec/gl-2.1/pbo.c b/tests/spec/gl-2.1/pbo.c
index 83dc1c4..1a59733 100644
--- a/tests/spec/gl-2.1/pbo.c
+++ b/tests/spec/gl-2.1/pbo.c
@@ -59,6 +59,12 @@ piglit_init(int argc, char **argv)
 	piglit_require_extension("GL_ARB_pixel_buffer_object");
 
 	piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
+
+	piglit_enumerate_subtests(
+		8, "test_sanity", "test_draw_pixels", "test_pixel_map",
+		"test_bitmap", "test_tex_image", "test_tex_sub_image",
+		"test_polygon_stip", "test_error_handling"
+	);
 }
 
 static void
-- 
git-series 0.9.1


More information about the Piglit mailing list