Rahix / tbot

Automation/Testing tool for Embedded Linux Development
https://tbot.tools
GNU General Public License v3.0
84 stars 21 forks source link

newbot CLI cannot generate log files #80

Closed locomotiveviaduct closed 1 year ago

locomotiveviaduct commented 1 year ago

The tbot CLI supports a --log option, which generates a log file for offline analysis. This is useful for comparing results between runs, or when retrieving logs from a pipeline run.

newbot does not support this option. Given the tbot and newbot CLIs appear to use the same underlying logging infrastructure, it seems this could be implemented by copying a small amount of CLI logic from tbot to newbot.

This was tested with https://github.com/Rahix/tbot/pull/78, which generated the same log files, module timestamp differences.