[oe-commits] Martin Jansa : test-dependencies.sh: Redirect stderr

git at git.openembedded.org git at git.openembedded.org
Sat Apr 5 22:15:28 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: f442c15aaeb8c0641093e92f2b832dfaa2d9a486
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f442c15aaeb8c0641093e92f2b832dfaa2d9a486

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Sat Apr  5 01:22:19 2014 +0200

test-dependencies.sh: Redirect stderr

* newer bitbake is printing some messages to stderr, we want to log
  them as well

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/test-dependencies.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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() {



More information about the Openembedded-commits mailing list