mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user