summaryrefslogtreecommitdiffstats
path: root/scripts/test-dependencies.sh
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-02-17 13:42:18 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-17 14:20:45 (GMT)
commit3d2d158e34224dff7ec27be341044332798c5e32 (patch)
tree9ab1df68e10ba1f537fe140aae2ae5a341fe2e22 /scripts/test-dependencies.sh
parent3f8c532e6d478afcae15580bfe3ec33f89319d50 (diff)
downloadpoky-3d2d158e34224dff7ec27be341044332798c5e32.tar.gz
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 (From OE-Core rev: 8c9a25ae70d249b823ab2b0385d539eb8bbc1374) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/test-dependencies.sh')
-rwxr-xr-xscripts/test-dependencies.sh2
1 files changed, 1 insertions, 1 deletions
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() {
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@\..*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log 144 cat ${OUTPUT1}/failed-tasks.log | sed 's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g' | sort -u > ${OUTPUT1}/failed-recipes.log
145} 145}
146 146
147build_every_recipe() { 147build_every_recipe() {