mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-26 08:49:02 +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] );
|
programs[vecsize] = makeSelectProgram(&kernels[vecsize], context, stype, cmptype, element_count[vecsize] );
|
||||||
if (!programs[vecsize] || !kernels[vecsize]) {
|
if (!programs[vecsize] || !kernels[vecsize]) {
|
||||||
++s_test_fail;
|
++s_test_fail;
|
||||||
|
++s_test_cnt;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user