TFLite: mark tests not portable

Caused issues merging the soname version patch so apply these fixes
separately.

Originally added in commit ed464d5623
Then reverted in commit 52bd173737

Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jason Zaman 2019-03-24 19:10:52 +08:00
parent 13fe6ef76e
commit fdbb33d31f
3 changed files with 12 additions and 4 deletions
tensorflow/lite
BUILD
tools/accuracy

View File

@ -71,10 +71,14 @@ cc_library(
],
)
# TODO(b/122597976) Move this off of tf_cc_test for portability.
tf_cc_test(
name = "arena_planner_test",
size = "small",
srcs = ["arena_planner_test.cc"],
tags = [
"tflite_not_portable_android",
],
deps = [
":arena_planner",
"//tensorflow/core:tflite_portable_logging",

View File

@ -156,12 +156,13 @@ cc_library(
],
)
# TODO(b/122597976) Move this off of tf_cc_test for portability.
tf_cc_test(
name = "file_reader_stage_test",
srcs = ["file_reader_stage_test.cc"],
linkopts = common_linkopts,
linkstatic = 1,
tags = ["tflite_not_portable_ios"],
tags = ["tflite_not_portable"],
deps = [
":file_reader_stage",
"@com_google_googletest//:gtest",
@ -231,12 +232,13 @@ cc_library(
),
)
# TODO(b/122597976) Move this off of tf_cc_test for portability.
tf_cc_test(
name = "eval_pipeline_test",
srcs = ["eval_pipeline_test.cc"],
linkopts = common_linkopts,
linkstatic = 1,
tags = ["tflite_not_portable_ios"],
tags = ["tflite_not_portable"],
deps = [
":eval_pipeline",
"//tensorflow/cc:cc_ops",
@ -283,12 +285,13 @@ cc_library(
),
)
# TODO(b/122597976) Move this off of tf_cc_test for portability.
tf_cc_test(
name = "eval_pipeline_builder_test",
srcs = ["eval_pipeline_builder_test.cc"],
linkopts = common_linkopts,
linkstatic = 1,
tags = ["tflite_not_portable_ios"],
tags = ["tflite_not_portable"],
deps = [
":eval_pipeline_builder",
"//tensorflow/cc:cc_ops",

View File

@ -97,12 +97,13 @@ cc_library(
),
)
# TODO(b/122597976) Move this off of tf_cc_test for portability.
tf_cc_test(
name = "imagenet_topk_eval_test",
srcs = ["imagenet_topk_eval_test.cc"],
linkopts = common_linkopts,
linkstatic = 1,
tags = ["tflite_not_portable_ios"],
tags = ["tflite_not_portable"],
deps = [
":imagenet_topk_eval",
"@com_google_googletest//:gtest",