From 4fc5581f8b80fa959d85ceba423eafa573a2efab Mon Sep 17 00:00:00 2001
From: "A. Unique TensorFlower" <gardener@tensorflow.org>
Date: Tue, 28 Feb 2017 16:58:54 -0800
Subject: [PATCH] Use 'name' instead of 'test_name' when forming benchmark
 output file name. Change: 148834478

---
 tensorflow/tools/test/run_and_gather_logs_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tensorflow/tools/test/run_and_gather_logs_lib.py b/tensorflow/tools/test/run_and_gather_logs_lib.py
index 963e1e83216..4042c491edd 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