Look for executable_path.python3 for benchmark if executable_path is not found.
PiperOrigin-RevId: 286483123 Change-Id: Ibdb70e4d8ecbc0cdd7a284f077a715042da8f085
This commit is contained in:
parent
0f85e658ab
commit
c8757107a8
@ -158,7 +158,10 @@ def run_and_gather_logs(name, test_name, test_args,
|
||||
|
||||
try:
|
||||
if not gfile.Exists(test_executable):
|
||||
raise ValueError("Executable does not exist: %s" % test_executable)
|
||||
test_executable_py3 = test_executable + ".python3"
|
||||
if not gfile.Exists(test_executable_py3):
|
||||
raise ValueError("Executable does not exist: %s" % test_executable)
|
||||
test_executable = test_executable_py3
|
||||
test_args = shlex.split(test_args)
|
||||
|
||||
# This key is defined in tf/core/util/reporter.h as
|
||||
|
Loading…
Reference in New Issue
Block a user