diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-02-17 14:42:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-17 14:20:45 +0000 |
commit | 3d2d158e34224dff7ec27be341044332798c5e32 (patch) | |
tree | 9ab1df68e10ba1f537fe140aae2ae5a341fe2e22 | |
parent | 3f8c532e6d478afcae15580bfe3ec33f89319d50 (diff) | |
download | poky-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>
-rwxr-xr-x | scripts/test-dependencies.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test-dependencies.sh b/scripts/test-dependencies.sh index 2bcc2ca4f6..e01acbecf7 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 | ||
147 | build_every_recipe() { | 147 | build_every_recipe() { |