@@ -2721,8 +2721,9 @@ TEST_F(ProgramTests, WhenProgramIsCreatedThenItsDeviceIsProperlySet) {
27212721 MockProgram programWithDeviceWithValidSpecializedDevice{executionEnvironment, nullptr , false , &validClDevice.getDevice ()};
27222722 EXPECT_TRUE (wasValidClDeviceUsed (programWithDeviceWithValidSpecializedDevice));
27232723}
2724+ using CreateProgramFromBinaryTests2 = ::testing::Test;
27242725
2725- TEST (CreateProgramFromBinaryTests , givenBinaryProgramWhenKernelRebulildIsForcedThenDeviceBinaryIsNotUsed) {
2726+ HWTEST_F (CreateProgramFromBinaryTests2 , givenBinaryProgramWhenKernelRebulildIsForcedThenDeviceBinaryIsNotUsed) {
27262727 DebugManagerStateRestore dbgRestorer;
27272728 DebugManager.flags .RebuildPrecompiledKernels .set (true );
27282729 cl_int retVal = CL_INVALID_BINARY;
@@ -2743,7 +2744,7 @@ TEST(CreateProgramFromBinaryTests, givenBinaryProgramWhenKernelRebulildIsForcedT
27432744 EXPECT_EQ (0U , pProgram->packedDeviceBinarySize );
27442745}
27452746
2746- TEST (CreateProgramFromBinaryTests , givenBinaryProgramWhenKernelRebulildIsNotForcedThenDeviceBinaryIsUsed) {
2747+ HWTEST_F (CreateProgramFromBinaryTests2 , givenBinaryProgramWhenKernelRebulildIsNotForcedThenDeviceBinaryIsUsed) {
27472748 cl_int retVal = CL_INVALID_BINARY;
27482749
27492750 PatchTokensTestData::ValidEmptyProgram programTokens;
@@ -3058,4 +3059,4 @@ TEST(ProgramReplaceDeviceBinary, GivenBinaryZebinThenUseAsBothPackedAndUnpackedB
30583059 ASSERT_NE (nullptr , program.unpackedDeviceBinary );
30593060 EXPECT_EQ (0 , memcmp (program.packedDeviceBinary .get (), zebin.storage .data (), program.packedDeviceBinarySize ));
30603061 EXPECT_EQ (0 , memcmp (program.unpackedDeviceBinary .get (), zebin.storage .data (), program.unpackedDeviceBinarySize ));
3061- }
3062+ }
0 commit comments