scripts: limit compare_footprint script to a defined group of boards

This script is part of the CI job and currently is run on all defined boards.
We are limited on resources in the CI infra and this part is taking way too
much time. We now select a group of boards to look at instead of just building
everything.

Change-Id: Ifd634e74426c9cc801032b26ad9a9a94a0e55960
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-10-26 08:08:42 -04:00 committed by Anas Nashif
commit aabbdb79e6

View file

@ -119,7 +119,15 @@ def run_sanity_footprint(commit=None, cwd=os.environ.get('ZEPHYR_BASE'),
output_file=None): output_file=None):
if not output_file: if not output_file:
output_file = sanity_results_filename(commit) output_file = sanity_results_filename(commit)
cmd = '/bin/bash -c "source ./zephyr-env.sh && ./scripts/sanitycheck --inline-logs --all' cmd = '/bin/bash -c "source ./zephyr-env.sh && ./scripts/sanitycheck --inline-logs '
# ARM
cmd += ' -p frdm_k64f -p nrf51_pca10028 -p nrf52_pca10040 '
# X86
cmd += ' -p quark_d2000_crb -p quark_se_c1000_devboard '
# ARC
cmd += ' -p quark_se_c1000_ss_devboard '
# NIOS2
cmd += ' -p altera_max10 '
cmd += ' --build-only --tag footprint -o %s"' % output_file cmd += ' --build-only --tag footprint -o %s"' % output_file
logger.debug('Sanity (%s) %s' %(commit, cmd)) logger.debug('Sanity (%s) %s' %(commit, cmd))