test-all.sh: tuned and commented out fresh build

The bitbake call before each build of a recipe was not required.
Commented out the fresh build, as it currently does not show more
problems than simply building in a shared environment.
Avoiding a fresh environment for each build decreases the runtime
of the test dramatically.
This commit is contained in:
Lukas Bulwahn 2013-07-16 07:48:02 +02:00
parent 1fa437d8a4
commit c87faa6db9
1 changed files with 3 additions and 2 deletions

View File

@ -136,8 +136,9 @@ bake_all () {
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
# uncomment the following line if it should always clean the environment
# for each bitbake run
# rm bitbake.lock cache/ sstate-cache/ tmp-eglibc/ -rf
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"