From 88004077e3c9e3b57631532d31bd9d6103ff51df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Petit?= Date: Fri, 15 Nov 2019 13:13:30 +0000 Subject: [PATCH] select: don't forget to count tests when failing to create programs (#483) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A test writer really shouldn't have to think about this... Signed-off-by: Kévin Petit --- test_conformance/select/test_select.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test_conformance/select/test_select.c b/test_conformance/select/test_select.c index c075ea46..e7071b67 100644 --- a/test_conformance/select/test_select.c +++ b/test_conformance/select/test_select.c @@ -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; } }