Skip to content

Commit

Permalink
Adapt exec_compatible_with for remote testing in add_an_op test.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 229180723
  • Loading branch information
tensorflower-gardener committed Jan 14, 2019
1 parent 471b523 commit 6dae7e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tensorflow/examples/adding_an_op/BUILD
Expand Up @@ -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"])

Expand Down Expand Up @@ -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 = [
Expand Down

0 comments on commit 6dae7e3

Please sign in to comment.