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:
Kévin Petit
2019-11-15 13:13:30 +00:00
committed by GitHub
parent 35bc51e51a
commit 88004077e3

View File

@@ -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;
}
}