Fix test failures due to binaries not found in PATH
Test: rm `where deapexer` && mm otapackage Change-Id: I0b742f26ae984729b97bf796aa3ed9335b316369
This commit is contained in:
@@ -545,7 +545,7 @@ def GetApexInfoFromTargetFiles(input_file):
|
|||||||
debugfs_path = os.path.join(OPTIONS.search_path, "bin", "debugfs_static")
|
debugfs_path = os.path.join(OPTIONS.search_path, "bin", "debugfs_static")
|
||||||
deapexer = 'deapexer'
|
deapexer = 'deapexer'
|
||||||
if OPTIONS.search_path:
|
if OPTIONS.search_path:
|
||||||
deapexer_path = os.path.join(OPTIONS.search_path, "deapexer")
|
deapexer_path = os.path.join(OPTIONS.search_path, "bin", "deapexer")
|
||||||
if os.path.isfile(deapexer_path):
|
if os.path.isfile(deapexer_path):
|
||||||
deapexer = deapexer_path
|
deapexer = deapexer_path
|
||||||
for apex_filename in os.listdir(target_dir):
|
for apex_filename in os.listdir(target_dir):
|
||||||
|
Reference in New Issue
Block a user