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

Submitted by Dylan Baker on Jan. 20, 2018, 12:25 a.m.

Details

Message ID c84367aa0f3dbea970b2eae0cb1a302770b9099c.1516407949.git-series.dylan@pnwbakers.com
State New
Headers show
Series "Series without cover letter" ( rev: 13 12 11 10 9 8 7 6 5 4 3 2 1 ) in Piglit

Not browsing as part of any series.

Commit Message

Dylan Baker Jan. 20, 2018, 12:25 a.m.
This gives us something to test the python part against.

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

Patch hide | download patch | download mbox

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