sanitycheck: enable size tracking with size related options
Make sure we do enable size tracking with options that depend on the size of generated binaries to be available. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
0b6a1041e1
commit
e0d931f6b8
1 changed files with 3 additions and 0 deletions
|
@ -3838,6 +3838,9 @@ def main():
|
|||
options.testcase_root = [os.path.join(ZEPHYR_BASE, "tests"),
|
||||
os.path.join(ZEPHYR_BASE, "samples")]
|
||||
|
||||
if options.show_footprint or options.compare_report or options.release:
|
||||
options.enable_size_report = True
|
||||
|
||||
suite = TestSuite(options.board_root, options.testcase_root, options.outdir)
|
||||
suite.add_testcases()
|
||||
suite.add_configurations()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue