From e0d931f6b835ea8732b7a53747e6b776342cf658 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 9 Dec 2019 15:23:43 -0500 Subject: [PATCH] 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 --- scripts/sanitycheck | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/sanitycheck b/scripts/sanitycheck index ad21f57ad3e..c0f7ac2fa0a 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck @@ -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()