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

@@ -61,13 +61,11 @@ bool gCoreILProgram = true;
#define DEFAULT_NUM_ELEMENTS 0x4000
int runTestHarness(int argc, const char *argv[], int testNum,
test_definition testList[], int imageSupportRequired,
int forceNoContextCreation,
test_definition testList[], int forceNoContextCreation,
cl_command_queue_properties queueProps)
{
return runTestHarnessWithCheck(
argc, argv, testNum, testList, forceNoContextCreation, queueProps,
(imageSupportRequired) ? verifyImageSupport : NULL);
return runTestHarnessWithCheck(argc, argv, testNum, testList,
forceNoContextCreation, queueProps, NULL);
}
int skip_init_info(int count)

View File

@@ -92,7 +92,7 @@ extern cl_uint gRandomSeed;
// dictatated by the passed arguments. Returns EXIT_SUCCESS iff all tests
// succeeded or the tests were listed, otherwise return EXIT_FAILURE.
extern int runTestHarness(int argc, const char *argv[], int testNum,
test_definition testList[], int imageSupportRequired,
test_definition testList[],
int forceNoContextCreation,
cl_command_queue_properties queueProps);