diff --git a/tensorflow/lite/BUILD b/tensorflow/lite/BUILD index a888cbd9407..4eb89151f46 100644 --- a/tensorflow/lite/BUILD +++ b/tensorflow/lite/BUILD @@ -508,8 +508,7 @@ cc_test( ":util", "//tensorflow/lite/c:common", "//tensorflow/lite/kernels:builtin_ops", - "//tensorflow/lite/testing:util", - "@com_google_googletest//:gtest", + "@com_google_googletest//:gtest_main", ], ) diff --git a/tensorflow/lite/model_xnnpack_test.cc b/tensorflow/lite/model_xnnpack_test.cc index 9c06147f602..1a7376bfdcf 100644 --- a/tensorflow/lite/model_xnnpack_test.cc +++ b/tensorflow/lite/model_xnnpack_test.cc @@ -1,4 +1,4 @@ -/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. +/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -12,14 +12,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#include "tensorflow/lite/model.h" - #include #include #include "tensorflow/lite/core/macros.h" #include "tensorflow/lite/kernels/register.h" -#include "tensorflow/lite/testing/util.h" +#include "tensorflow/lite/model.h" #include "tensorflow/lite/util.h" namespace tflite { @@ -51,9 +49,3 @@ TEST(FloatModel, WithXnnpackDelegate) { } } // namespace tflite - -int main(int argc, char** argv) { - ::tflite::LogToStderr(); - ::testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); -}