Tools: autotest: copy generate_manifest aside for build_binaries.py

This commit is contained in:
Peter Barker 2017-10-26 07:57:48 +11:00
parent 8adacfeea3
commit 47ffad7cdc
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,11 @@ def build_binaries():
copy = util.reltopdir('./build_binaries.py') copy = util.reltopdir('./build_binaries.py')
shutil.copy2(orig, copy) shutil.copy2(orig, copy)
# also copy generate_manifest library:
orig_gm = util.reltopdir('Tools/scripts/generate_manifest.py')
copy_gm = util.reltopdir('./generate_manifest.py')
shutil.copy2(orig_gm, copy_gm)
if util.run_cmd(copy, directory=util.reltopdir('.')) != 0: if util.run_cmd(copy, directory=util.reltopdir('.')) != 0:
print("Failed build_binaries.py") print("Failed build_binaries.py")
return False return False