mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
test: improve unit tests - use virtual file system
- use virtualFileSystem in ULTs, writeDataToFile() does not create file but instead saves filename. Call to fileExists() checks if file was previously written Related-To: NEO-7006 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2f03c48c7a
commit
5e15543b14
@@ -26,7 +26,12 @@
|
||||
|
||||
#include "common/StateSaveAreaHeader.h"
|
||||
|
||||
#include <set>
|
||||
|
||||
using namespace NEO;
|
||||
namespace NEO {
|
||||
extern std::set<std::string> virtualFileList;
|
||||
}
|
||||
|
||||
struct RawBinarySipFixture : public DeviceFixture {
|
||||
void setUp() {
|
||||
@@ -746,4 +751,4 @@ TEST_F(DebugBuiltinSipTest, givenDebuggerWhenInitSipKernelThenDbgSipIsLoadedFrom
|
||||
auto sipAllocation = SipKernel::getSipKernel(*pDevice, nullptr).getSipAllocation();
|
||||
EXPECT_NE(nullptr, sipAllocation);
|
||||
EXPECT_EQ(SipKernelMock::classType, SipClassType::builtins);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user