From 6dae7e3ebbfd83b9f1d318ba5f2f2baeae17b9f5 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Mon, 14 Jan 2019 07:40:31 -0800 Subject: [PATCH] Adapt exec_compatible_with for remote testing in add_an_op test. PiperOrigin-RevId: 229180723 --- tensorflow/examples/adding_an_op/BUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorflow/examples/adding_an_op/BUILD b/tensorflow/examples/adding_an_op/BUILD index 2b39b3683f2..a4d6f204cd9 100644 --- a/tensorflow/examples/adding_an_op/BUILD +++ b/tensorflow/examples/adding_an_op/BUILD @@ -10,6 +10,7 @@ licenses(["notice"]) # Apache 2.0 load("//tensorflow:tensorflow.bzl", "tf_custom_op_library") load("//tensorflow:tensorflow.bzl", "tf_cuda_tests_tags") load("//tensorflow:tensorflow.bzl", "tf_cc_binary") +load("//tensorflow:tensorflow.bzl", "tf_exec_compatible_with") exports_files(["LICENSE"]) @@ -118,6 +119,7 @@ py_test( name = "cuda_op_test", size = "small", 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"], deps = [