Patchwork test-dependencies.sh: Redirect stderr

login
register
mail settings
Submitter Martin Jansa
Date April 4, 2014, 11:22 p.m.
Message ID <1396653739-32752-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/70167/
State Accepted
Commit 025021ee5c59c9794c35fc2a4f8397b1a17e7354
Headers show

Comments

Martin Jansa - April 4, 2014, 11:22 p.m.
* newer bitbake is printing some messages to stderr, we want to log
  them as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 scripts/test-dependencies.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/scripts/test-dependencies.sh b/scripts/test-dependencies.sh
index ca7e687..d3212c4 100755
--- a/scripts/test-dependencies.sh
+++ b/scripts/test-dependencies.sh
@@ -137,7 +137,7 @@  build_all() {
   OUTPUT1=${OUTPUT_BASE}/${TYPE}_all
   mkdir -p ${OUTPUT1}
   echo "Logs will be stored in ${OUTPUT1} directory"
-  bitbake -k $targets | tee -a ${OUTPUT1}/complete.log
+  bitbake -k $targets 2>&1 | tee -a ${OUTPUT1}/complete.log
 }
 
 build_every_recipe() {