From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 28 Jan 2016 20:46:58 -0700 Subject: [U-Boot] [PATCH 1/9] test/dm: clear unit test failure count each run In-Reply-To: <1453964274-9129-1-git-send-email-swarren@wwwdotorg.org> References: <1453964274-9129-1-git-send-email-swarren@wwwdotorg.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > 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 > --- > test/dm/test-main.c | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Simon Glass