Combine kernel tests into three types.

PiperOrigin-RevId: 271050630
This commit is contained in:
Juho Ha 2019-09-24 21:46:13 -07:00 committed by TensorFlower Gardener
parent 96f936af8e
commit d7f0cc49af
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,5 @@
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")
package(
@ -1880,8 +1880,6 @@ filegroup(
visibility = ["//tensorflow:__subpackages__"],
)
tflite_portable_test_suite()
cc_test(
name = "mirror_pad_test",
srcs = ["mirror_pad_test.cc"],
@ -1991,3 +1989,5 @@ cc_test(
"@com_google_googletest//:gtest",
],
)
tflite_portable_test_suite_combined(combine_conditions = {"deps": [":test_main"]})

View File

@ -5,6 +5,11 @@ def tflite_portable_test_suite(**kwargs):
_ignore = [kwargs]
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):
"""This is a no-op outside of Google."""
_ignore = [kwargs]