feature: enable cl_cache by default on Windows

Related-To: NEO-8092
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwolinski
2023-09-25 12:27:58 +00:00
committed by Compute-Runtime-Automation
parent 9a64179b65
commit e16220dc9f
4 changed files with 25 additions and 2 deletions

View File

@@ -807,6 +807,10 @@ TEST_F(CompilerCacheWindowsTest, givenCacheBinaryWhenRenameTempFileBinaryToPrope
EXPECT_EQ(0u, SysCalls::writeFileCalled);
}
TEST(CompilerCacheHelperWindowsTest, whenDefaultCacheEnabledIsCalledThenReturnCorrectValue) {
EXPECT_EQ(1l, NEO::defaultCacheEnabled());
}
TEST(CompilerCacheHelperWindowsTest, givenFindFirstFileASuccessWhenGetFileModificationTimeThenFindCloseIsCalled) {
VariableBackup<HANDLE> findFirstFileAResultBackup(&SysCalls::findFirstFileAResult, reinterpret_cast<HANDLE>(0x1234));
VariableBackup<size_t> findCloseCalledBackup(&SysCalls::findCloseCalled, 0u);