[Piglit] [PATCH 06/15] tests: enumerate subtests in gl-2.1-gbo test

Dylan Baker dylan at pnwbakers.com
Tue Jan 23 01:22:07 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 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tests/spec/gl-2.1/pbo.c b/tests/spec/gl-2.1/pbo.c
index 83dc1c4..81d4f64 100644
--- a/tests/spec/gl-2.1/pbo.c
+++ b/tests/spec/gl-2.1/pbo.c
@@ -50,6 +50,18 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
 		PIGLIT_GL_VISUAL_DOUBLE;
 
 	config.khr_no_error_support = PIGLIT_NO_ERRORS;
+	const char *tests[] = {
+		"test_sanity",
+		"test_draw_pixels",
+		"test_pixel_map",
+		"test_bitmap",
+		"test_tex_image",
+		"test_tex_sub_image",
+		"test_polygon_stip",
+		"test_error_handling",
+		NULL,
+	};
+	config.all_subtests = tests;
 
 PIGLIT_GL_TEST_CONFIG_END
 
-- 
git-series 0.9.1


More information about the Piglit mailing list