[Piglit] [PATCH v2 11/19] tests/ext_window_rectangles-dlist: enumerate subtests

Dylan Baker dylan at pnwbakers.com
Mon Dec 3 18:13:50 UTC 2018


I can't really test that this works, so just enumerating will have to be
enough.
---
 tests/spec/ext_window_rectangles/dlist.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/spec/ext_window_rectangles/dlist.c b/tests/spec/ext_window_rectangles/dlist.c
index 59836544f..3f1eb9d73 100644
--- a/tests/spec/ext_window_rectangles/dlist.c
+++ b/tests/spec/ext_window_rectangles/dlist.c
@@ -133,6 +133,9 @@ piglit_display(void)
 void
 piglit_init(int argc, char **argv)
 {
+	const char * subtests[] = { "compile and execute", "call", NULL };
+	piglit_register_subtests(subtests);
+
 	static const float verts[4][4] = {
 		/* x   y   z   w */
 		{ -1, -1, 1.0, 1 },
-- 
2.19.2



More information about the Piglit mailing list