Adapt exec_compatible_with for remote testing in add_an_op test.
PiperOrigin-RevId: 229180723
This commit is contained in:
parent
471b523d93
commit
6dae7e3ebb
@ -10,6 +10,7 @@ licenses(["notice"]) # Apache 2.0
|
|||||||
load("//tensorflow:tensorflow.bzl", "tf_custom_op_library")
|
load("//tensorflow:tensorflow.bzl", "tf_custom_op_library")
|
||||||
load("//tensorflow:tensorflow.bzl", "tf_cuda_tests_tags")
|
load("//tensorflow:tensorflow.bzl", "tf_cuda_tests_tags")
|
||||||
load("//tensorflow:tensorflow.bzl", "tf_cc_binary")
|
load("//tensorflow:tensorflow.bzl", "tf_cc_binary")
|
||||||
|
load("//tensorflow:tensorflow.bzl", "tf_exec_compatible_with")
|
||||||
|
|
||||||
exports_files(["LICENSE"])
|
exports_files(["LICENSE"])
|
||||||
|
|
||||||
@ -118,6 +119,7 @@ py_test(
|
|||||||
name = "cuda_op_test",
|
name = "cuda_op_test",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = ["cuda_op_test.py"],
|
srcs = ["cuda_op_test.py"],
|
||||||
|
exec_compatible_with = tf_exec_compatible_with({"tags": tf_cuda_tests_tags()}),
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
tags = tf_cuda_tests_tags() + ["notap"],
|
tags = tf_cuda_tests_tags() + ["notap"],
|
||||||
deps = [
|
deps = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user