kumquat-buildroot/support
Luca Ceresoli d332f2c521 support/testing: simplify logging by keeping the log file open
We currently call infra.smart_open() to open log files each time we
need to write to them.

Opening the file once in the constructor of Builder and Emulator and
writing to it whenever needed is simpler and slightly more efficient.

Remove smart_open and instead create a new open_log_file() function
which just opens the logfile. Also let it compute the filename, in
order to simplify even further the Builder and Emulator code.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-05-17 21:59:58 +02:00
..
dependencies Revert "dependencies/cmake: blacklist cmake 3.7" 2017-03-01 22:13:49 +01:00
download download/git: clarify why .git is removed 2017-04-20 22:27:23 +02:00
gnuconfig support/gnuconfig: bump version to 2016-05-15 2016-06-05 22:26:57 +02:00
kconfig merge_config.sh: create temporary files in /tmp 2016-01-31 09:09:52 +01:00
legal-info docs: libtool patches are not handled by legal-info infrastructure. 2016-08-19 23:16:23 +02:00
libtool support/libtool: add patch for newer versions 2014-12-21 13:21:56 +01:00
misc core/pkg-cmake: better way to pass our CMAKE_MODULE_PATH 2017-03-05 21:34:49 +01:00
scripts genimage.sh: fix calling from BR2_ROOTFS_POST_IMAGE_SCRIPT 2017-04-27 22:55:52 +02:00
testing support/testing: simplify logging by keeping the log file open 2017-05-17 21:59:58 +02:00