summaryrefslogtreecommitdiffstats
path: root/test/cmd_ut.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-01-27 23:57:46 -0700
committerSimon Glass <sjg@chromium.org>2016-01-28 21:01:24 -0700
commit26e1beccbeb82ce7a4713ad899eb34b795228891 (patch)
tree8bcbfeb8acc6eb186a52e1967d965df58bbcc894 /test/cmd_ut.c
parentd20e5e976f70bd2e230787091a88278dfe6e5192 (diff)
downloadtalos-obmc-uboot-26e1beccbeb82ce7a4713ad899eb34b795228891.tar.gz
talos-obmc-uboot-26e1beccbeb82ce7a4713ad899eb34b795228891.zip
test/dm: clear unit test failure count each run
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@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/cmd_ut.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud