[07/15] tests: enumerate subtests in fbo-incomplete

Submitted by Dylan Baker on Jan. 23, 2018, 1:22 a.m.

Details

Message ID a98874265b9b9f5945415173e73cbd0b00f22b75.1516670408.git-series.dylan@pnwbakers.com
State New
Headers show

Not browsing as part of any series.

Patch hide | download patch | download mbox

diff --git a/tests/fbo/fbo-incomplete.cpp b/tests/fbo/fbo-incomplete.cpp
index 8cde6d2..8d16ec1 100644
--- a/tests/fbo/fbo-incomplete.cpp
+++ b/tests/fbo/fbo-incomplete.cpp
@@ -34,6 +34,18 @@  PIGLIT_GL_TEST_CONFIG_BEGIN
 
 	config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
 	config.khr_no_error_support = PIGLIT_NO_ERRORS;
+	const char *tests[] = {
+		"0x0 texture",
+		"0x0 renderbuffer",
+		"invalid slice of 3D texture",
+		"invalid layer of a 1D-array texture",
+		"invalid layer of a 2D-array texture",
+		"invalid layer of a cube-array texture",
+		"delete texture of bound FBO",
+		"delete renderbuffer of bound FBO",
+		NULL
+	};
+	config.all_subtests = tests;
 
 PIGLIT_GL_TEST_CONFIG_END