[oe-commits] Martin Jansa : test-dependencies.sh: strip only .bb suffix

git at git.openembedded.org git at git.openembedded.org
Mon Mar 16 17:42:35 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: f76572df61d27a7e25f8433b1bbf42a0c9032024
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f76572df61d27a7e25f8433b1bbf42a0c9032024

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Sat Mar  7 09:54:24 2015 +0100

test-dependencies.sh: strip only .bb suffix

* we were stripping too much when stripping recipe name from line like this:
  ERROR: Task 12016 (/some/patch/something.dot.bar.bb, do_fetch) failed with exit code '1'
  where the recipe name contains dots and doesn't end with _<version>.bb
* apply the same fix as 8c9a25ae70d249b823ab2b0385d539eb8bbc1374 while
  building individual recipes

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 scripts/test-dependencies.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/test-dependencies.sh b/scripts/test-dependencies.sh
index e01acbe..0170947 100755
--- a/scripts/test-dependencies.sh
+++ b/scripts/test-dependencies.sh
@@ -178,7 +178,7 @@ build_every_recipe() {
       RESULT+=${RECIPE_RESULT}
       mv ${OUTPUTB}/${recipe}.log ${OUTPUTB}/failed/
       grep "ERROR: Task.*failed"  ${OUTPUTB}/failed/${recipe}.log | tee -a ${OUTPUTB}/failed-tasks.log
-      grep "ERROR: Task.*failed"  ${OUTPUTB}/failed/${recipe}.log | sed 's at .*/@@g; s at _.*@@g; s@\..*@@g' >> ${OUTPUTB}/failed-recipes.log
+      grep "ERROR: Task.*failed"  ${OUTPUTB}/failed/${recipe}.log | sed 's at .*/@@g; s at _.*@@g; s@\.bb, .*@@g' >> ${OUTPUTB}/failed-recipes.log
       # and append also ${recipe} in case the failed task was from some dependency
       echo ${recipe} >> ${OUTPUTB}/failed-recipes.log
     else



More information about the Openembedded-commits mailing list