autotest: correct path to source build_sizes.py script

This script is run on the build server from the APM root directory; this
bit copies it there before we change branches in the repo
This commit is contained in:
Peter Barker 2022-01-12 09:13:31 +11:00 committed by Peter Barker
parent 50d30ae045
commit 7bb36a5630

View File

@ -121,12 +121,12 @@ def build_binaries():
"board_list.py",
"build_binaries_history.py",
"build_binaries.py",
"build_sizes.py",
"build_sizes/build_sizes.py",
"generate_manifest.py",
"gen_stable.py",
]:
orig = util.reltopdir('Tools/scripts/%s' % thing)
copy = util.reltopdir('./%s' % thing)
copy = util.reltopdir('./%s' % os.path.basename(thing))
shutil.copy2(orig, copy)
if util.run_cmd("./build_binaries.py", directory=util.reltopdir('.')) != 0: