Do not provide -cl-feature option to the compiler

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-11-16 16:56:33 +00:00
committed by Compute-Runtime-Automation
parent 2ef52ff39c
commit 59b74a8ea3
12 changed files with 48 additions and 95 deletions

View File

@ -277,8 +277,7 @@ TEST_F(OfflineCompilerTests, givenClStd30OptionWhenCompilingSourceThenCorrectExt
OpenClCFeaturesContainer openclCFeatures;
getOpenclCFeaturesList(DEFAULT_PLATFORM::hwInfo, openclCFeatures);
for (auto &feature : openclCFeatures) {
auto expectedRegex = std::string{feature.name} + ".*" + std::string{feature.name};
EXPECT_THAT(internalOptions, ::testing::ContainsRegex(expectedRegex));
EXPECT_THAT(internalOptions, ::testing::HasSubstr(std::string{feature.name}));
}
}
TEST_F(OfflineCompilerTests, GoodBuildTest) {