diff --git a/tensorflow/examples/adding_an_op/BUILD b/tensorflow/examples/adding_an_op/BUILD index a4d6f204cd9..e3ee520e760 100644 --- a/tensorflow/examples/adding_an_op/BUILD +++ b/tensorflow/examples/adding_an_op/BUILD @@ -69,7 +69,10 @@ py_test( size = "small", srcs = ["zero_out_1_test.py"], srcs_version = "PY2AND3", - tags = ["notap"], + tags = [ + "no_pip", + "notap", + ], deps = [ ":zero_out_op_1", "//tensorflow:tensorflow_py", @@ -81,7 +84,10 @@ py_test( size = "small", srcs = ["zero_out_2_test.py"], srcs_version = "PY2AND3", - tags = ["notap"], + tags = [ + "no_pip", + "notap", + ], deps = [ ":zero_out_grad_2", ":zero_out_op_2", @@ -94,7 +100,10 @@ py_test( size = "small", srcs = ["zero_out_3_test.py"], srcs_version = "PY2AND3", - tags = ["notap"], + tags = [ + "no_pip", + "notap", + ], deps = [ ":zero_out_op_3", "//tensorflow:tensorflow_py", @@ -121,7 +130,10 @@ py_test( srcs = ["cuda_op_test.py"], exec_compatible_with = tf_exec_compatible_with({"tags": tf_cuda_tests_tags()}), srcs_version = "PY2AND3", - tags = tf_cuda_tests_tags() + ["notap"], + tags = tf_cuda_tests_tags() + [ + "notap", + "no_pip", + ], deps = [ ":cuda_op", "//tensorflow:tensorflow_py", diff --git a/tensorflow/tools/api/tests/BUILD b/tensorflow/tools/api/tests/BUILD index a2440eaebab..834f14bef35 100644 --- a/tensorflow/tools/api/tests/BUILD +++ b/tensorflow/tools/api/tests/BUILD @@ -1,5 +1,10 @@ # TensorFlow API backwards compatibility tests. +load( + "//tensorflow:tensorflow.bzl", + "py_test", +) + package( default_visibility = ["//tensorflow/tools/api:__subpackages__"], ) diff --git a/tensorflow/tools/compatibility/BUILD b/tensorflow/tools/compatibility/BUILD index 6db6669a547..ed1faa80921 100644 --- a/tensorflow/tools/compatibility/BUILD +++ b/tensorflow/tools/compatibility/BUILD @@ -2,6 +2,7 @@ load( "//tensorflow:tensorflow.bzl", "tf_copts", # @unused "tf_cc_test", # @unused + "py_test", ) licenses(["notice"]) # Apache 2.0