All of lore.kernel.org
 help / color / mirror / Atom feed
* [tisdk-build-scripts][PATCH] bitbake-test-sdk-image: preserve bitbake-cookerdaemon.log
@ 2018-05-10 14:36 Jacob Stiffler
  2018-05-10 15:47 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Jacob Stiffler @ 2018-05-10 14:36 UTC (permalink / raw)
  To: meta-arago

* When stdout/stderr is piped, if there is an error during parsing,
  all that will be printed is "Unable to start bitbake server"
* The bitbake-cookerdaemon.log will contain the error message, so
  preserve it in the LOG_DIR.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 lib/oesdk/bitbake-test-sdk-image | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/oesdk/bitbake-test-sdk-image b/lib/oesdk/bitbake-test-sdk-image
index f17b594..de081cf 100644
--- a/lib/oesdk/bitbake-test-sdk-image
+++ b/lib/oesdk/bitbake-test-sdk-image
@@ -465,6 +465,9 @@ bitbake_sdk_images(){
             fi
         done
 
+        # Move the bitbake-cooker.log as some errors may get hidden in there.
+        mv $build_dir/bitbake-cookerdaemon.log $LOG_DIR/$m-bitbake-cookerdaemon.log
+
         # Only run the build testing if the status of the above builds
         # was "pass"
         if [ "$build_status" == "pass" ]
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-10 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-10 14:36 [tisdk-build-scripts][PATCH] bitbake-test-sdk-image: preserve bitbake-cookerdaemon.log Jacob Stiffler
2018-05-10 15:47 ` Denys Dmytriyenko
2018-05-10 16:15   ` Jacob Stiffler
2018-05-10 16:17     ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.