mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
Pass execution environment to Platform
Related-To: NEO-4208 Change-Id: Iec8c6bedfd4a3fce160651768fb45f74cf3a36e8 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
b5535ec547
commit
c739500047
@@ -47,11 +47,11 @@ TEST(SourceLevelDebugger, givenPlatformWhenItIsCreatedThenSourceLevelDebuggerIsC
|
||||
if (platformDevices[0]->capabilityTable.sourceLevelDebuggerSupported) {
|
||||
DebuggerLibrary::setLibraryAvailable(true);
|
||||
DebuggerLibrary::setDebuggerActive(true);
|
||||
|
||||
Platform platform;
|
||||
auto executionEnvironment = new ExecutionEnvironment();
|
||||
Platform platform(*executionEnvironment);
|
||||
platform.initialize();
|
||||
|
||||
EXPECT_NE(nullptr, platform.peekExecutionEnvironment()->sourceLevelDebugger);
|
||||
EXPECT_NE(nullptr, executionEnvironment->sourceLevelDebugger);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user