[4/9] tests: enumerate subtests in fbo-incomplete

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

Details

Message ID 945b992775dfb27f822ad2bc956e4fbed0da4593.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.
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
---
 tests/fbo/fbo-incomplete.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

Patch hide | download patch | download mbox

diff --git a/tests/fbo/fbo-incomplete.cpp b/tests/fbo/fbo-incomplete.cpp
index 8cde6d2..0354615 100644
--- a/tests/fbo/fbo-incomplete.cpp
+++ b/tests/fbo/fbo-incomplete.cpp
@@ -459,6 +459,13 @@  piglit_init(int argc, char **argv)
 {
 	bool pass = true;
 
+	piglit_enumerate_subtests(
+		8, "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"
+	);
+
 	piglit_require_extension("GL_ARB_framebuffer_object");
 
 	pass = incomplete_0_by_0_texture() && pass;