diff --git a/conformance_tests/tools/tracing/src/test_api_tracing.cpp b/conformance_tests/tools/tracing/src/test_api_tracing.cpp index 1812b8ac..3308f1a6 100644 --- a/conformance_tests/tools/tracing/src/test_api_tracing.cpp +++ b/conformance_tests/tools/tracing/src/test_api_tracing.cpp @@ -381,18 +381,6 @@ static void ready_tracer(zet_tracer_exp_handle_t tracer, lzt::enable_tracer(tracer); } -TEST_F( - TracingPrologueEpilogueTests, - GivenEnabledTracerWithzeInitCallbacksWhenCallingzeInitThenUserDataIsSetAndResultUnchanged) { - prologues.Global.pfnInitCb = lzt::prologue_callback; - epilogues.Global.pfnInitCb = lzt::epilogue_callback; - - ze_result_t initial_result = zeInit(0); - ready_tracer(tracer_handle, prologues, epilogues); - - ASSERT_EQ(initial_result, zeInit(0)); -} - TEST_F( TracingPrologueEpilogueTests, GivenEnabledTracerWithzeDeviceGetCallbacksWhenCallingzeDeviceGetThenUserDataIsSetAndResultUnchanged) { diff --git a/layer_tests/tracing/src/test_api_ltracing.cpp b/layer_tests/tracing/src/test_api_ltracing.cpp index 3b4e8f9d..df863d3a 100644 --- a/layer_tests/tracing/src/test_api_ltracing.cpp +++ b/layer_tests/tracing/src/test_api_ltracing.cpp @@ -374,18 +374,6 @@ static void ready_ltracer(zel_tracer_handle_t tracer, ze_callbacks_t prologues, lzt::enable_ltracer(tracer); } -TEST_F( - LTracingPrologueEpilogueTests, - GivenEnabledTracerWithzeInitCallbacksWhenCallingzeInitThenUserDataIsSetAndResultUnchanged) { - prologues.Global.pfnInitCb = lzt::lprologue_callback; - epilogues.Global.pfnInitCb = lzt::lepilogue_callback; - - ze_result_t initial_result = zeInit(0); - ready_ltracer(tracer_handle, prologues, epilogues); - - ASSERT_EQ(initial_result, zeInit(0)); -} - TEST_F( LTracingPrologueEpilogueTests, GivenEnabledTracerWithzeDeviceGetCallbacksWhenCallingzeDeviceGetThenUserDataIsSetAndResultUnchanged) { diff --git a/layer_tests/tracing/src/test_api_ltracing_compat.cpp b/layer_tests/tracing/src/test_api_ltracing_compat.cpp index b99aabc2..9fecbf14 100644 --- a/layer_tests/tracing/src/test_api_ltracing_compat.cpp +++ b/layer_tests/tracing/src/test_api_ltracing_compat.cpp @@ -372,22 +372,6 @@ class LCTracingPrologueEpilogueTests : public ::testing::Test { ze_bool_t can_access; }; -TEST_F( - LCTracingPrologueEpilogueTests, - GivenEnabledTracerWithzeInitCallbacksWhenCallingzeInitThenUserDataIsSetAndResultUnchanged) { - - zelTracerInitRegisterCallback(tracer_handle, ZEL_REGISTER_PROLOGUE, - lzt::lprologue_callback); - zelTracerInitRegisterCallback(tracer_handle, ZEL_REGISTER_EPILOGUE, - lzt::lepilogue_callback); - - ze_result_t initial_result = zeInit(0); - - lzt::enable_ltracer(tracer_handle); - - ASSERT_EQ(initial_result, zeInit(0)); -} - TEST_F( LCTracingPrologueEpilogueTests, GivenEnabledTracerWithzeDeviceGetCallbacksWhenCallingzeDeviceGetThenUserDataIsSetAndResultUnchanged) {