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

git at git.openembedded.org git at git.openembedded.org
Tue Feb 17 14:38:54 UTC 2015


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

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Tue Feb 17 14:42:18 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

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 2bcc2ca..e01acbe 100755
--- a/scripts/test-dependencies.sh
+++ b/scripts/test-dependencies.sh
@@ -141,7 +141,7 @@ build_all() {
   bitbake -k $targets 2>&1 | tee -a ${OUTPUT1}/complete.log
   RESULT+=${PIPESTATUS[0]}
   grep "ERROR: Task.*failed" ${OUTPUT1}/complete.log > ${OUTPUT1}/failed-tasks.log
-  cat ${OUTPUT1}/failed-tasks.log | sed 's at .*/@@g; s at _.*@@g; s@\..*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log
+  cat ${OUTPUT1}/failed-tasks.log | sed 's at .*/@@g; s at _.*@@g; s@\.bb, .*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log
 }
 
 build_every_recipe() {



More information about the Openembedded-commits mailing list