zephyr/tests/benchmarks/object_footprint/run.sh

15 lines
358 B
Bash
Executable File

#!/bin/sh
rm results.txt
rm -rf results
for conf in `ls -v *.conf`; do
echo $conf
app=$(basename $conf .conf)
build_dir=results/$(basename $conf .conf)
cmake -DBOARD=arduino_101 -DCONF_FILE=$conf -H. -B${build_dir}
cmake --build ${build_dir}
${ZEPHYR_BASE}/scripts/sanitycheck -z ${build_dir}/zephyr/${app}.elf >> results.txt
done