tbot
tbot copied to clipboard
Continuously print console to stdout
Hello,
We have important kernel messages printed to the device console during tests and would like to have them printed continuously while the tests are running. These messages are needed for debugging when the tests fail.
Currently, to have the console's recent messages printed out, we need to send a command using exec0() method (our device is configured to use connector.ConsoleConnector).
Is there a way in TBot to have the console continuously print the console to stdout? I thought about having a thread that every second polls the channel for new data and printing it out using channel.read_until_timeout(1) method.
Thanks, Yaniv
PS: Thank you for adding the utils.copy_to_dir() functionality :) (was out on vacation and returned today).