2015-08-31 22:57:32 +08:00
|
|
|
#!/bin/sh
|
|
|
|
rm results.txt
|
|
|
|
rm -rf results
|
|
|
|
for conf in `ls -v *.conf`; do
|
2017-10-31 21:32:07 +08:00
|
|
|
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
|
2015-08-31 22:57:32 +08:00
|
|
|
done
|
|
|
|
|