test-all.sh: always build with a fresh environment

This commit is contained in:
Lukas Bulwahn 2013-07-11 12:19:14 +02:00
parent cff8ed2066
commit 77c8d10c95
1 changed files with 3 additions and 0 deletions

View File

@ -135,6 +135,9 @@ bake_all () {
while [ $i -lt $array_length ]; do
activity="$txt_file_pkg_checking_kw $((i+1))/$array_length: ${array[$i]}"
echo $activity
# create clean bitbake environment
rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf
bitbake
if [ "$arg" = "txt" ]; then
# Try to bake every recipe. Store results in a report file. Just give $txt_file_pkg_ok_kw for working recipes, print more information on errors.
echo $activity | tee -a "$report_file_raw" >> "$report_file_txt"