diff options
Diffstat (limited to 'scripts/test-dependencies.sh')
-rwxr-xr-x | scripts/test-dependencies.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test-dependencies.sh b/scripts/test-dependencies.sh index 00c50e0d6c..0b94de8608 100755 --- a/scripts/test-dependencies.sh +++ b/scripts/test-dependencies.sh | |||
@@ -141,7 +141,7 @@ build_all() { | |||
141 | bitbake -k $targets 2>&1 | tee -a ${OUTPUT1}/complete.log | 141 | bitbake -k $targets 2>&1 | tee -a ${OUTPUT1}/complete.log |
142 | RESULT+=${PIPESTATUS[0]} | 142 | RESULT+=${PIPESTATUS[0]} |
143 | grep "ERROR: Task.*failed" ${OUTPUT1}/complete.log > ${OUTPUT1}/failed-tasks.log | 143 | grep "ERROR: Task.*failed" ${OUTPUT1}/complete.log > ${OUTPUT1}/failed-tasks.log |
144 | cat ${OUTPUT1}/failed-tasks.log | sed 's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g; s@\.bb;.*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log | 144 | cat ${OUTPUT1}/failed-tasks.log | sed 's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g; s@\.bb:.*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log |
145 | } | 145 | } |
146 | 146 | ||
147 | build_every_recipe() { | 147 | build_every_recipe() { |
@@ -178,7 +178,7 @@ build_every_recipe() { | |||
178 | RESULT+=${RECIPE_RESULT} | 178 | RESULT+=${RECIPE_RESULT} |
179 | mv ${OUTPUTB}/${recipe}.log ${OUTPUTB}/failed/ | 179 | mv ${OUTPUTB}/${recipe}.log ${OUTPUTB}/failed/ |
180 | grep "ERROR: Task.*failed" ${OUTPUTB}/failed/${recipe}.log | tee -a ${OUTPUTB}/failed-tasks.log | 180 | grep "ERROR: Task.*failed" ${OUTPUTB}/failed/${recipe}.log | tee -a ${OUTPUTB}/failed-tasks.log |
181 | grep "ERROR: Task.*failed" ${OUTPUTB}/failed/${recipe}.log | sed 's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g; s@\.bb;.*@@g' >> ${OUTPUTB}/failed-recipes.log | 181 | grep "ERROR: Task.*failed" ${OUTPUTB}/failed/${recipe}.log | sed 's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g; s@\.bb:.*@@g' >> ${OUTPUTB}/failed-recipes.log |
182 | # and append also ${recipe} in case the failed task was from some dependency | 182 | # and append also ${recipe} in case the failed task was from some dependency |
183 | echo ${recipe} >> ${OUTPUTB}/failed-recipes.log | 183 | echo ${recipe} >> ${OUTPUTB}/failed-recipes.log |
184 | else | 184 | else |