mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Fix naming convention in mock_compiler_interface.h
Change-Id: I22e9dbdafda511bf9c273cd4e3081116249f9949 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
9567fa5090
commit
9ac7604ed9
@ -267,7 +267,7 @@ TEST_F(CompilerInterfaceTest, whenCompilerIsNotAvailableThenCompileFailsGraceful
|
||||
fclDebugVars.fileName = clFiles + "copybuffer.elf";
|
||||
gEnvironment->fclPushDebugVars(fclDebugVars);
|
||||
pCompilerInterface->igcMain->Release();
|
||||
pCompilerInterface->SetIgcMain(nullptr);
|
||||
pCompilerInterface->setIgcMain(nullptr);
|
||||
TranslationOutput translationOutput = {};
|
||||
auto err = pCompilerInterface->compile(*pDevice, inputArgs, translationOutput);
|
||||
EXPECT_EQ(TranslationOutput::ErrorCode::CompilerNotAvailable, err);
|
||||
@ -334,7 +334,7 @@ TEST_F(CompilerInterfaceTest, whenCompilerIsNotAvailableThenLinkFailsGracefully)
|
||||
igcDebugVars.fileName = clFiles + "copybuffer.ll";
|
||||
gEnvironment->igcPushDebugVars(igcDebugVars);
|
||||
pCompilerInterface->igcMain->Release();
|
||||
pCompilerInterface->SetIgcMain(nullptr);
|
||||
pCompilerInterface->setIgcMain(nullptr);
|
||||
TranslationOutput translationOutput = {};
|
||||
auto err = pCompilerInterface->link(*pDevice, inputArgs, translationOutput);
|
||||
EXPECT_EQ(TranslationOutput::ErrorCode::CompilerNotAvailable, err);
|
||||
@ -400,7 +400,7 @@ TEST_F(CompilerInterfaceTest, whenCompilerIsNotAvailableThenCreateLibraryFailsGr
|
||||
igcDebugVars.fileName = clFiles + "copybuffer.ll";
|
||||
gEnvironment->igcPushDebugVars(igcDebugVars);
|
||||
pCompilerInterface->igcMain->Release();
|
||||
pCompilerInterface->SetIgcMain(nullptr);
|
||||
pCompilerInterface->setIgcMain(nullptr);
|
||||
TranslationOutput translationOutput = {};
|
||||
auto err = pCompilerInterface->createLibrary(*pDevice, inputArgs, translationOutput);
|
||||
EXPECT_EQ(TranslationOutput::ErrorCode::CompilerNotAvailable, err);
|
||||
|
Reference in New Issue
Block a user