]> code.ossystems Code Review - openembedded-core.git/commitdiff
test-dependencies.sh: strip only .bb suffix
authorMartin Jansa <martin.jansa@gmail.com>
Tue, 17 Feb 2015 13:42:18 +0000 (14:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Feb 2015 14:17:24 +0000 (14:17 +0000)
* 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@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/test-dependencies.sh

index 2bcc2ca4f663c5703a6f34fe44b598ce461c5c69..e01acbecf7eec8582665a50e4264e312cb33e1fb 100755 (executable)
@@ -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@.*/@@g; s@_.*@@g; s@\..*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log
+  cat ${OUTPUT1}/failed-tasks.log | sed 's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log
 }
 
 build_every_recipe() {