Combine kernel tests into three types.
PiperOrigin-RevId: 271050630
This commit is contained in:
parent
96f936af8e
commit
d7f0cc49af
@ -1,5 +1,5 @@
|
|||||||
load("//tensorflow/lite:build_def.bzl", "tflite_copts")
|
load("//tensorflow/lite:build_def.bzl", "tflite_copts")
|
||||||
load("//tensorflow/lite:special_rules.bzl", "tflite_portable_test_suite")
|
load("//tensorflow/lite:special_rules.bzl", "tflite_portable_test_suite_combined")
|
||||||
load("//tensorflow:tensorflow.bzl", "tf_opts_nortti_if_android")
|
load("//tensorflow:tensorflow.bzl", "tf_opts_nortti_if_android")
|
||||||
|
|
||||||
package(
|
package(
|
||||||
@ -1880,8 +1880,6 @@ filegroup(
|
|||||||
visibility = ["//tensorflow:__subpackages__"],
|
visibility = ["//tensorflow:__subpackages__"],
|
||||||
)
|
)
|
||||||
|
|
||||||
tflite_portable_test_suite()
|
|
||||||
|
|
||||||
cc_test(
|
cc_test(
|
||||||
name = "mirror_pad_test",
|
name = "mirror_pad_test",
|
||||||
srcs = ["mirror_pad_test.cc"],
|
srcs = ["mirror_pad_test.cc"],
|
||||||
@ -1991,3 +1989,5 @@ cc_test(
|
|||||||
"@com_google_googletest//:gtest",
|
"@com_google_googletest//:gtest",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
tflite_portable_test_suite_combined(combine_conditions = {"deps": [":test_main"]})
|
||||||
|
@ -5,6 +5,11 @@ def tflite_portable_test_suite(**kwargs):
|
|||||||
_ignore = [kwargs]
|
_ignore = [kwargs]
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def tflite_portable_test_suite_combined(**kwargs):
|
||||||
|
"""This is a no-op outside of Google."""
|
||||||
|
_ignore = [kwargs]
|
||||||
|
pass
|
||||||
|
|
||||||
def tflite_ios_per_kernel_test(**kwargs):
|
def tflite_ios_per_kernel_test(**kwargs):
|
||||||
"""This is a no-op outside of Google."""
|
"""This is a no-op outside of Google."""
|
||||||
_ignore = [kwargs]
|
_ignore = [kwargs]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user