aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/test
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-02-28 16:58:54 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-28 17:41:28 -0800
commit4fc5581f8b80fa959d85ceba423eafa573a2efab (patch)
treeb8de7f708e282bd410f3f6748127a51da49400c4 /tensorflow/tools/test
parentcd5d96735f18bcf32fff7026fac6ff8271f571f4 (diff)
Use 'name' instead of 'test_name' when forming benchmark output file name.
Change: 148834478
Diffstat (limited to 'tensorflow/tools/test')
-rw-r--r--tensorflow/tools/test/run_and_gather_logs_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tools/test/run_and_gather_logs_lib.py b/tensorflow/tools/test/run_and_gather_logs_lib.py
index 963e1e8321..4042c491ed 100644
--- a/tensorflow/tools/test/run_and_gather_logs_lib.py
+++ b/tensorflow/tools/test/run_and_gather_logs_lib.py
@@ -124,7 +124,7 @@ def run_and_gather_logs(name, test_name, test_args):
test_executable = os.path.join(".", test_executable)
temp_directory = tempfile.mkdtemp(prefix="run_and_gather_logs")
- mangled_test_name = test_name.strip("/").replace("/", "_").replace(":", "_")
+ mangled_test_name = name.strip("/").replace("/", "_").replace(":", "_")
test_file_prefix = os.path.join(temp_directory, mangled_test_name)
test_file_prefix = "%s." % test_file_prefix