diff options
Diffstat (limited to 'tensorflow/python/autograph/pyct/testing/BUILD')
-rw-r--r-- | tensorflow/python/autograph/pyct/testing/BUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/tensorflow/python/autograph/pyct/testing/BUILD b/tensorflow/python/autograph/pyct/testing/BUILD new file mode 100644 index 0000000000..c244cbd747 --- /dev/null +++ b/tensorflow/python/autograph/pyct/testing/BUILD @@ -0,0 +1,48 @@ +licenses(["notice"]) # Apache 2.0 + +load("//tensorflow:tensorflow.bzl", "py_test") + +filegroup( + name = "all_files", + srcs = glob( + ["**/*"], + exclude = [ + "**/METADATA", + "**/OWNERS", + ], + ), + visibility = ["//tensorflow:__subpackages__"], +) + +py_library( + name = "testing", + srcs = [ + "codegen.py", + ], + srcs_version = "PY2AND3", + visibility = ["//visibility:public"], + deps = [ + "//tensorflow/python/autograph/pyct", + "//tensorflow/python/autograph/utils", + "@gast_archive//:gast", + ], +) + +py_test( + name = "codegen_test", + size = "large", + srcs = ["codegen_test.py"], + srcs_version = "PY2AND3", + tags = [ + "manual", + "no_windows", + "nomsan", + "notap", + ], + deps = [ + ":testing", + "//tensorflow/python:client_testlib", + "//tensorflow/python/autograph/pyct", + "@gast_archive//:gast", + ], +) |