Migrate several TFLite tests to use cc_test directly

PiperOrigin-RevId: 241623088
This commit is contained in:
Jared Duke 2019-04-02 16:04:44 -07:00 committed by TensorFlower Gardener
parent f44bcfbea9
commit 2937b40fc2
3 changed files with 4 additions and 6 deletions

View File

@ -6,7 +6,6 @@ load(
"tf_gen_op_libs",
"tf_gen_op_wrapper_py",
"tf_py_test",
"tf_cc_test",
)
load("//tensorflow:tensorflow.bzl", "tf_custom_op_py_library")
@ -28,7 +27,7 @@ cc_library(
],
)
tf_cc_test(
cc_test(
name = "audio_microfrontend_test",
size = "small",
srcs = ["audio_microfrontend_test.cc"],

View File

@ -2,7 +2,6 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
load("//tensorflow:tensorflow.bzl", "tf_cc_test")
load("//tensorflow/lite:build_def.bzl", "tflite_copts")
common_copts = [
@ -66,10 +65,10 @@ cc_library(
],
)
tf_cc_test(
cc_test(
name = "profile_summarizer_test",
srcs = ["profile_summarizer_test.cc"],
extra_copts = common_copts,
copts = common_copts,
deps = [
":profile_summarizer",
"//tensorflow/lite:framework",

View File

@ -78,7 +78,7 @@ cc_library(
],
)
tf_cc_test(
cc_test(
name = "input_generator_test",
size = "small",
srcs = ["input_generator_test.cc"],