test-dependencies.sh: Redirect stderr
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 4 Apr 2014 23:22:19 +0000 (01:22 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 5 Apr 2014 22:24:01 +0000 (23:24 +0100)
* newer bitbake is printing some messages to stderr, we want to log
  them as well

(From OE-Core rev: f442c15aaeb8c0641093e92f2b832dfaa2d9a486)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/test-dependencies.sh

index ca7e687..d3212c4 100755 (executable)
@@ -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() {