Re: [U-Boot] [PATCH v2 1/2] test/py: Allow to pass u_boot_log instead of console for run_and_log

2016-12-12 Thread Stephen Warren
On 12/04/2016 05:52 PM, Stefan Brüns wrote: The runner actually has no console dependency, only on the log provided by the console. Accept both u_boot_console or a multiplexed_log. Either this approach or updating all callers to always pass the log object is fine by me. So if you need it, Ac

Re: [U-Boot] [PATCH v2 1/2] test/py: Allow to pass u_boot_log instead of console for run_and_log

2016-12-11 Thread Simon Glass
Hi Stefan, On 10 December 2016 at 14:35, Stefan Bruens wrote: > On Dienstag, 6. Dezember 2016 22:47:42 CET Simon Glass wrote: >> Hi Stefan, >> >> On 4 December 2016 at 19:52, Stefan Brüns > wrote: >> > The runner actually has no console dependency, only on the log provided >> > by the console. A

Re: [U-Boot] [PATCH v2 1/2] test/py: Allow to pass u_boot_log instead of console for run_and_log

2016-12-10 Thread Stefan Bruens
On Dienstag, 6. Dezember 2016 22:47:42 CET Simon Glass wrote: > Hi Stefan, > > On 4 December 2016 at 19:52, Stefan Brüns wrote: > > The runner actually has no console dependency, only on the log provided > > by the console. Accept both u_boot_console or a multiplexed_log. > > In that case I won

Re: [U-Boot] [PATCH v2 1/2] test/py: Allow to pass u_boot_log instead of console for run_and_log

2016-12-06 Thread Simon Glass
Hi Stefan, On 4 December 2016 at 19:52, Stefan Brüns wrote: > The runner actually has no console dependency, only on the log provided > by the console. Accept both u_boot_console or a multiplexed_log. In that case I wonder if it would be better to change it to a log, only? I will leave it for S

[U-Boot] [PATCH v2 1/2] test/py: Allow to pass u_boot_log instead of console for run_and_log

2016-12-04 Thread Stefan Brüns
The runner actually has no console dependency, only on the log provided by the console. Accept both u_boot_console or a multiplexed_log. Signed-off-by: Stefan Brüns --- test/py/u_boot_utils.py | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/test/py/u_boo