Internal change.

PiperOrigin-RevId: 170604029
This commit is contained in:
Anna R 2017-09-30 16:07:29 -07:00 committed by TensorFlower Gardener
parent f5f24f9857
commit 2bc4bc1d7a

View File

@ -109,7 +109,8 @@ def run_and_gather_logs(name, test_name, test_args,
Returns:
A tuple (test_results, mangled_test_name), where
test_results: A test_log_pb2.TestResults proto
mangled_test_name: A string, the mangled test name.
test_adjusted_name: Unique benchmark name that consists of
benchmark name optionally followed by GPU type.
Raises:
ValueError: If the test_name is not a valid target.
@ -168,7 +169,7 @@ def run_and_gather_logs(name, test_name, test_args,
benchmark_type=benchmark_type,
start_time=int(start_time),
run_time=run_time,
log_files=log_files), mangled_test_name)
log_files=log_files), test_adjusted_name)
finally:
try: