Fix test flake

Test: th
Bug: 289013326
Change-Id: Ib233978ff861b010bdc3bd1a02ea9baefe6a3489
This commit is contained in:
Kelvin Zhang
2023-06-27 10:30:48 -07:00
parent 571cd07796
commit 97a5afe0f3

View File

@@ -1424,6 +1424,7 @@ def ResolveAVBSigningPathArgs(split_args):
def ResolveBinaryPath(path):
if os.path.exists(path):
return path
if OPTIONS.search_path:
new_path = os.path.join(OPTIONS.search_path, path)
if os.path.exists(new_path):
return new_path