mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
select: don't forget to count tests when failing to create programs (#483)
A test writer really shouldn't have to think about this... Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
@@ -342,6 +342,7 @@ static int doTest(cl_command_queue queue, cl_context context, Type stype, Type c
|
||||
programs[vecsize] = makeSelectProgram(&kernels[vecsize], context, stype, cmptype, element_count[vecsize] );
|
||||
if (!programs[vecsize] || !kernels[vecsize]) {
|
||||
++s_test_fail;
|
||||
++s_test_cnt;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user