Tools: add --no-merge-base option to size_compare_branches.py

This commit is contained in:
Peter Barker 2022-12-23 09:12:59 +11:00 committed by Peter Barker
parent 36d2c267fe
commit ec0b51dadd

View File

@ -338,6 +338,11 @@ if __name__ == '__main__':
type="string",
default="master",
help="master branch to use")
parser.add_option("",
"--no-merge-base",
action="store_true",
default=False,
help="do not use the merge-base for testing, do a direct comparison between branches")
parser.add_option("",
"--branch",
type="string",
@ -391,5 +396,6 @@ if __name__ == '__main__':
run_elf_diff=(not cmd_opts.no_elf_diff),
all_vehicles=cmd_opts.all_vehicles,
all_boards=cmd_opts.all_boards,
use_merge_base=not cmd_opts.no_merge_base,
)
x.run()