mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
cl21: Add minimal required version functionality (#270)
This adds functionality to define minimal required version through the ADD_TEST* macros. Tests that don't meet the version requirement will be skipped. By default the minimal required version is set to 1.0, subsequent patches will set the appropriate version for each of the tests. Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
This commit is contained in:
committed by
Kévin Petit
parent
32e702efbc
commit
bfb3e4aa2c
@@ -79,6 +79,7 @@ void spirvTestsRegistry::addTestClass(baseTestClass *test, const char *testName)
|
||||
test_definition testDef;
|
||||
testDef.func = test->getFunction();
|
||||
testDef.name = testName;
|
||||
testDef.min_version = Version(2, 1);
|
||||
testDefinitions.push_back(testDef);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user