diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-03-07 09:54:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-16 17:41:52 +0000 |
commit | 9a712be92464accba4eb04923ce8e4c894063eb8 (patch) | |
tree | 968bbae802a2797337988868afdac26238239731 /scripts/test-dependencies.sh | |
parent | 1d43c3c2141ed367dd01d1d9d34df0c96d4fe25b (diff) | |
download | poky-9a712be92464accba4eb04923ce8e4c894063eb8.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
* apply the same fix as 8c9a25ae70d249b823ab2b0385d539eb8bbc1374 while
building individual recipes
(From OE-Core rev: f76572df61d27a7e25f8433b1bbf42a0c9032024)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/test-dependencies.sh')
-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 e01acbecf7..0170947f0e 100755 --- a/scripts/test-dependencies.sh +++ b/scripts/test-dependencies.sh | |||
@@ -178,7 +178,7 @@ build_every_recipe() { | |||
178 | RESULT+=${RECIPE_RESULT} | 178 | RESULT+=${RECIPE_RESULT} |
179 | mv ${OUTPUTB}/${recipe}.log ${OUTPUTB}/failed/ | 179 | mv ${OUTPUTB}/${recipe}.log ${OUTPUTB}/failed/ |
180 | grep "ERROR: Task.*failed" ${OUTPUTB}/failed/${recipe}.log | tee -a ${OUTPUTB}/failed-tasks.log | 180 | grep "ERROR: Task.*failed" ${OUTPUTB}/failed/${recipe}.log | tee -a ${OUTPUTB}/failed-tasks.log |
181 | grep "ERROR: Task.*failed" ${OUTPUTB}/failed/${recipe}.log | sed 's@.*/@@g; s@_.*@@g; s@\..*@@g' >> ${OUTPUTB}/failed-recipes.log | 181 | grep "ERROR: Task.*failed" ${OUTPUTB}/failed/${recipe}.log | sed 's@.*/@@g; s@_.*@@g; s@\.bb, .*@@g' >> ${OUTPUTB}/failed-recipes.log |
182 | # and append also ${recipe} in case the failed task was from some dependency | 182 | # and append also ${recipe} in case the failed task was from some dependency |
183 | echo ${recipe} >> ${OUTPUTB}/failed-recipes.log | 183 | echo ${recipe} >> ${OUTPUTB}/failed-recipes.log |
184 | else | 184 | else |