[Piglit] [PATCH 10/16] all.tests: make ARB_color_buffer_float tests concurrent

Marek Olšák maraeo at gmail.com
Sun Nov 24 15:52:29 PST 2013


From: Marek Olšák <marek.olsak at amd.com>

---
 tests/all.tests                            | 2 +-
 tests/spec/arb_color_buffer_float/common.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/all.tests b/tests/all.tests
index be4864d..777cb52 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -1581,7 +1581,7 @@ tdfx_texture_compression_fxt1['invalid formats'].runConcurrent = True
 add_plain_test(tdfx_texture_compression_fxt1, 'fxt1-teximage')
 
 def add_color_buffer_float_test(name, format, p1, p2):
-    arb_color_buffer_float[format + '-' + name + ('-' + p1 if len(p1) else '') + ('-' + p2 if len(p2) else '')] = PlainExecTest(['arb_color_buffer_float-' + name, format, p1, p2])
+    arb_color_buffer_float[format + '-' + name + ('-' + p1 if len(p1) else '') + ('-' + p2 if len(p2) else '')] = concurrent_test(' '.join(['arb_color_buffer_float-' + name, format, p1, p2]))
 
 arb_color_buffer_float = Group()
 spec['ARB_color_buffer_float'] = arb_color_buffer_float
diff --git a/tests/spec/arb_color_buffer_float/common.h b/tests/spec/arb_color_buffer_float/common.h
index 56ce496..0a30c91 100644
--- a/tests/spec/arb_color_buffer_float/common.h
+++ b/tests/spec/arb_color_buffer_float/common.h
@@ -254,7 +254,7 @@ static GLboolean run_test()
 
 	glDeleteTextures(1, &tex);
 	tex = 0;
-	glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
+	glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, piglit_winsys_fbo);
 	if (fb)
 	{
 		glDeleteFramebuffersEXT(1, &fb);
-- 
1.8.3.2



More information about the Piglit mailing list