|
5 | 5 | This script help you to compare footprint results with previous commits in git. |
6 | 6 | If you don't have a git repository, it will compare your current tree |
7 | 7 | against the last release results. |
8 | | -To run it you need to set up the same environment as sanity check. |
| 8 | +To run it you need to set up the same environment as twister. |
9 | 9 | The scripts take 2 optional args COMMIT and BASE_COMMIT, which tell the scripts |
10 | 10 | which commit to use as current commit and as base for comparing, respectively. |
11 | 11 | The script can take any SHA commit recognized for git. |
@@ -70,7 +70,7 @@ def init_logs(): |
70 | 70 | def parse_args(): |
71 | 71 | parser = argparse.ArgumentParser( |
72 | 72 | description="Compare footprint apps RAM and ROM sizes. Note: " |
73 | | - "To run it you need to set up the same environment as sanitycheck.") |
| 73 | + "To run it you need to set up the same environment as twister.") |
74 | 74 | parser.add_argument('-b', '--base-commit', default=None, |
75 | 75 | help="Commit ID to use as base for footprint " |
76 | 76 | "compare. Default is parent current commit." |
@@ -119,7 +119,7 @@ def run_sanity_footprint(commit=None, cwd=os.environ.get('ZEPHYR_BASE'), |
119 | 119 | output_file=None): |
120 | 120 | if not output_file: |
121 | 121 | output_file = sanity_results_filename(commit) |
122 | | - cmd = '/bin/bash -c "source ./zephyr-env.sh && sanitycheck' |
| 122 | + cmd = '/bin/bash -c "source ./zephyr-env.sh && twister' |
123 | 123 | cmd += ' +scripts/sanity_chk/sanity_compare.args -o %s"' % output_file |
124 | 124 | logger.debug('Sanity (%s) %s' %(commit, cmd)) |
125 | 125 |
|
|
0 commit comments