Remove imageSupportRequired parameter to runTestHarness (#1077)

* Tests requiring image support use runTestHarnessWithCheck

Removing special case for images in runTestHarness.

Fixes #710

* Remove imageSupportRequired argument

Tests which require image support now specify this while
calling runTestHarnessWithCheck.

Fixes #710

Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
This commit is contained in:
ellnor01
2020-12-09 16:12:40 +00:00
committed by GitHub
parent b7adaa5c3b
commit 5ae5e7a1fa
49 changed files with 60 additions and 55 deletions

View File

@@ -343,7 +343,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;
++s_test_cnt;
return -1;
}
}
@@ -645,7 +645,7 @@ int main(int argc, const char* argv[])
log_info("*** Wimpy Reduction Factor: %-27u ***\n\n", s_wimpy_reduction_factor);
}
int err = runTestHarness( argCount, argList, test_num, test_list, false, false, 0 );
int err = runTestHarness(argCount, argList, test_num, test_list, false, 0);
free( argList );