[U-Boot] [PATCH 1/9] test/dm: clear unit test failure count each run

Simon Glass sjg at chromium.org
Fri Jan 29 05:02:16 CET 2016


On 28 January 2016 at 20:46, Simon Glass <sjg at chromium.org> wrote:
> On 27 January 2016 at 23:57, Stephen Warren <swarren at wwwdotorg.org> wrote:
>> From: Stephen Warren <swarren at nvidia.com>
>>
>> The ut command prints a test failure count each time it is executed.
>> This is stored in a global variable which is never reset. Consequently,
>> the printed failure count accumulates across runs. Fix this by clearing
>> the counter each time "ut" is invoked.
>>
>> Signed-off-by: Stephen Warren <swarren at nvidia.com>
>> ---
>>  test/dm/test-main.c | 2 ++
>>  1 file changed, 2 insertions(+)
>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list