mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Do not test global platform.
Change-Id: I3d6c1b9e9002d1913867db4930bcfefc5bb4a2fd
This commit is contained in:
@@ -175,7 +175,8 @@ TEST(Platform, givenNullPlatformThenReturnInvalidPlatform) {
|
||||
}
|
||||
|
||||
TEST(Platform, givenPlatformThenReturnSUCCESS) {
|
||||
cl_platform_id clPlatformId = platform();
|
||||
Platform platform;
|
||||
cl_platform_id clPlatformId = &platform;
|
||||
EXPECT_EQ(CL_SUCCESS, validateObjects(clPlatformId));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user