From 165f70c4816cd506e8e4e7fe1b55d2a5b7a054a5 Mon Sep 17 00:00:00 2001 From: Gunhan Gulsoy Date: Mon, 20 Jan 2020 13:54:18 -0800 Subject: [PATCH] Disable tests that depend on tensorflow::Subprocess This class is not implemented for windows. PiperOrigin-RevId: 290646487 Change-Id: Ie903fc48411a1fbe946bae0da3eb285c5dce6f9e --- tensorflow/core/distributed_runtime/BUILD | 3 +++ tensorflow/core/distributed_runtime/rpc/BUILD | 3 +++ tensorflow/core/platform/BUILD | 15 ++++++++++++++- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/tensorflow/core/distributed_runtime/BUILD b/tensorflow/core/distributed_runtime/BUILD index 2156dcfc3d3..a904290b784 100644 --- a/tensorflow/core/distributed_runtime/BUILD +++ b/tensorflow/core/distributed_runtime/BUILD @@ -111,6 +111,9 @@ tf_cc_test( name = "cluster_function_library_runtime_test", srcs = ["cluster_function_library_runtime_test.cc"], linkstatic = tf_kernel_tests_linkstatic(), + tags = [ + "no_windows", + ], deps = [ ":worker_session", "//tensorflow/core:framework_internal", diff --git a/tensorflow/core/distributed_runtime/rpc/BUILD b/tensorflow/core/distributed_runtime/rpc/BUILD index a63da8658fe..6aff1e85465 100644 --- a/tensorflow/core/distributed_runtime/rpc/BUILD +++ b/tensorflow/core/distributed_runtime/rpc/BUILD @@ -467,6 +467,9 @@ tf_cc_test( name = "grpc_tensor_coding_test", size = "small", srcs = ["grpc_tensor_coding_test.cc"], + tags = [ + "no_windows", + ], deps = [ ":grpc_tensor_coding", ":grpc_testlib", diff --git a/tensorflow/core/platform/BUILD b/tensorflow/core/platform/BUILD index 26864214c6b..aabbfe86a63 100644 --- a/tensorflow/core/platform/BUILD +++ b/tensorflow/core/platform/BUILD @@ -856,7 +856,6 @@ tf_cc_tests( "strcat_test.cc", "stringpiece_test.cc", "stringprintf_test.cc", - "subprocess_test.cc", "vmodule_benchmark_test.cc", ], create_named_test_suite = True, @@ -881,6 +880,20 @@ tf_cc_tests( ], ) +tf_cc_test( + name = "subprocess_test", + size = "small", + srcs = ["subprocess_test.cc"], + tags = [ + "no_windows", + ], + deps = [ + ":subprocess", + "//tensorflow/core:test", + "//tensorflow/core:test_main", + ], +) + tf_cc_test( name = "platform_strings_test", size = "small",