mirror of https://github.com/ArduPilot/ardupilot
Tools: autotest: copy generate_manifest aside for build_binaries.py
This commit is contained in:
parent
8adacfeea3
commit
47ffad7cdc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue