[Piglit] [PATCH] Modify a mistake in all_cl.tests

junyan.he at linux.intel.com junyan.he at linux.intel.com
Wed May 22 23:37:24 PDT 2013


From: Junyan He <junyan.he at linux.intel.com>

add_concurrent_test function in all_cl.tests seems has
some mistake in assign logic. The new created test object
is not assigned correctly.

Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
 tests/all_cl.tests |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/all_cl.tests b/tests/all_cl.tests
index 8cefa43..91ed230 100644
--- a/tests/all_cl.tests
+++ b/tests/all_cl.tests
@@ -17,7 +17,7 @@ def add_plain_test(group, name, args):
 def add_concurrent_test(group, name, args):
 	test = PlainExecTest(args)
 	test.runConcurrent = true;
-	group[name] = PlainExecTest(args)
+	group[name] = test
 
 def add_plain_program_tester_test(group, name, path):
 	add_plain_test(group, name, ['cl-program-tester', path])
-- 
1.7.9.5



More information about the Piglit mailing list