Use 'name' instead of 'test_name' when forming benchmark output file name.

Change: 148834478
This commit is contained in:
A. Unique TensorFlower 2017-02-28 16:58:54 -08:00 committed by TensorFlower Gardener
parent cd5d96735f
commit 4fc5581f8b

View File

@ -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