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

Submitted by Dylan Baker on Dec. 3, 2018, 6:13 p.m.

Details

Message ID 20181203181358.12095-11-dylan@pnwbakers.com
State New
Headers show
Series "Convert a number of tests to use subtest framework" ( rev: 17 16 15 14 13 12 11 10 9 8 ) in Piglit

Not browsing as part of any series.

Commit Message

Dylan Baker Dec. 3, 2018, 6:13 p.m.
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(+)

Patch hide | download patch | download mbox

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 },