aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/test
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-03-22 05:46:07 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-22 05:48:38 -0700
commitb559a319411e2d3f2a42f466c18737edd527bb10 (patch)
tree1de92ae2d6666fd724ca1229672e622585d01a39 /tensorflow/tools/test
parent9e651e4571f7b7c2d32bdafe43cc4ced9bb0c750 (diff)
Update file due to changes in Bazel (PACKAGE_NAME is deprecated)
PiperOrigin-RevId: 190051589
Diffstat (limited to 'tensorflow/tools/test')
-rw-r--r--tensorflow/tools/test/performance.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tools/test/performance.bzl b/tensorflow/tools/test/performance.bzl
index cee53dd5b6..3486871080 100644
--- a/tensorflow/tools/test/performance.bzl
+++ b/tensorflow/tools/test/performance.bzl
@@ -31,7 +31,7 @@ def tf_cc_logged_benchmark(
size = "large",
srcs = ["//tensorflow/tools/test:run_and_gather_logs"],
args = [
- "--name=//%s:%s" % (PACKAGE_NAME, name),
+ "--name=//%s:%s" % (native.package_name(), name),
"--test_name=" + target,
"--test_args=--benchmarks=%s" % benchmarks,
"--benchmark_type=%s" % benchmark_type,