Migrate several TFLite tests to use cc_test directly
PiperOrigin-RevId: 241623088
This commit is contained in:
parent
f44bcfbea9
commit
2937b40fc2
@ -6,7 +6,6 @@ load(
|
|||||||
"tf_gen_op_libs",
|
"tf_gen_op_libs",
|
||||||
"tf_gen_op_wrapper_py",
|
"tf_gen_op_wrapper_py",
|
||||||
"tf_py_test",
|
"tf_py_test",
|
||||||
"tf_cc_test",
|
|
||||||
)
|
)
|
||||||
load("//tensorflow:tensorflow.bzl", "tf_custom_op_py_library")
|
load("//tensorflow:tensorflow.bzl", "tf_custom_op_py_library")
|
||||||
|
|
||||||
@ -28,7 +27,7 @@ cc_library(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
tf_cc_test(
|
cc_test(
|
||||||
name = "audio_microfrontend_test",
|
name = "audio_microfrontend_test",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = ["audio_microfrontend_test.cc"],
|
srcs = ["audio_microfrontend_test.cc"],
|
||||||
|
@ -2,7 +2,6 @@ package(default_visibility = ["//visibility:public"])
|
|||||||
|
|
||||||
licenses(["notice"]) # Apache 2.0
|
licenses(["notice"]) # Apache 2.0
|
||||||
|
|
||||||
load("//tensorflow:tensorflow.bzl", "tf_cc_test")
|
|
||||||
load("//tensorflow/lite:build_def.bzl", "tflite_copts")
|
load("//tensorflow/lite:build_def.bzl", "tflite_copts")
|
||||||
|
|
||||||
common_copts = [
|
common_copts = [
|
||||||
@ -66,10 +65,10 @@ cc_library(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
tf_cc_test(
|
cc_test(
|
||||||
name = "profile_summarizer_test",
|
name = "profile_summarizer_test",
|
||||||
srcs = ["profile_summarizer_test.cc"],
|
srcs = ["profile_summarizer_test.cc"],
|
||||||
extra_copts = common_copts,
|
copts = common_copts,
|
||||||
deps = [
|
deps = [
|
||||||
":profile_summarizer",
|
":profile_summarizer",
|
||||||
"//tensorflow/lite:framework",
|
"//tensorflow/lite:framework",
|
||||||
|
@ -78,7 +78,7 @@ cc_library(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
tf_cc_test(
|
cc_test(
|
||||||
name = "input_generator_test",
|
name = "input_generator_test",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = ["input_generator_test.cc"],
|
srcs = ["input_generator_test.cc"],
|
||||||
|
Loading…
Reference in New Issue
Block a user