],
"//conditions:default": [],
}) + if_not_windows([
- "//tensorflow/contrib/ffmpeg:ffmpeg_ops_py",
+ # for :contrib_py
"//tensorflow/contrib/lite/python:lite", # unix dependency, need to fix code
]),
)
name = "asserts_test",
srcs = ["asserts_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":test_lib",
"//tensorflow/python:client_testlib",
name = "builtin_functions_test",
srcs = ["builtin_functions_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":test_lib",
"//tensorflow/python:client_testlib",
size = "large",
srcs = ["call_trees_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":test_lib",
"//tensorflow/contrib/autograph/impl",
name = "api_test",
srcs = ["api_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":impl",
"//tensorflow/contrib/autograph/utils",
name = "conversion_test",
srcs = ["conversion_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":impl",
"//tensorflow/python:client_testlib",
name = "compiler_test",
srcs = ["compiler_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":pyct",
"//tensorflow/python:client_testlib",
name = "activity_test",
srcs = ["activity_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":static_analysis",
"//tensorflow/contrib/autograph/pyct",
name = "live_values_test",
srcs = ["live_values_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":static_analysis",
"//tensorflow/contrib/autograph/pyct",
name = "builtins_test",
srcs = ["builtins_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":utils",
"//tensorflow/python:client_testlib",
name = "py_func_test",
srcs = ["py_func_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":utils",
"//tensorflow/python:client_testlib",
"//tensorflow:tensorflow.bzl",
"tf_custom_op_library",
"tf_gen_op_libs",
+ "if_not_windows",
)
load(
"//tensorflow/core:platform/default/build_config_root.bzl",
],
)
+cc_library(
+ name = "lib_proto_parsing_for_dataset_ops",
+ deps = if_not_windows(["//tensorflow/core:lib_proto_parsing"]),
+)
+
tf_custom_op_library(
name = "_dataset_ops.so",
srcs = ["ops/dataset_ops.cc"],
deps = ["//tensorflow/contrib/data/kernels:dataset_kernels"] +
if_static(
- extra_deps = ["//tensorflow/core:lib_proto_parsing"],
+ extra_deps = [":lib_proto_parsing_for_dataset_ops"],
otherwise = [],
),
)
name = "convert_saved_model_test",
srcs = ["convert_saved_model_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
visibility = ["//visibility:public"],
deps = [
":convert_saved_model",
"//tensorflow/python:math_ops",
"//tensorflow/python:variables",
],
+ tags = ["no_windows"],
)
size = "small",
srcs = ["plugins/trace/trace_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":trace",
"//tensorflow/python:client_testlib",
":datasets",
],
grpc_enabled = True,
+ tags = ["no_windows"],
)
tf_py_test(
":math_ops",
"//tensorflow/core:protos_all_py",
],
+ tags = ["no_windows"],
)
cuda_py_test(
srcs = ["training/saver_large_partitioned_variable_test.py"],
srcs_version = "PY2AND3",
tags = [
+ "no_windows",
"noasan", # http://b/30782289
"notsan", # http://b/30782289
],
size = "small",
srcs = ["cli/profile_analyzer_cli_test.py"],
srcs_version = "PY2AND3",
+ tags = ["no_windows"],
deps = [
":debugger_cli_common",
":profile_analyzer_cli",
],
data = ["//tensorflow/python/kernel_tests/testdata:self_adjoint_eig_op_test_files"],
shard_count = 20,
+ tags = ["no_windows"],
)
cuda_py_test(
--define=no_tensorflow_py_deps=true --test_lang_filters=py \
--test_tag_filters=-no_pip,-no_windows,-no_oss \
--build_tag_filters=-no_pip,-no_windows,-no_oss --build_tests_only \
+ --flaky_test_attempts=3 \
//${PY_TEST_DIR}/tensorflow/python/... \
//${PY_TEST_DIR}/tensorflow/contrib/...