]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
test: dm: Don't bail on all tests if one test fails
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:32 +0000 (14:27 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:43:17 +0000 (22:43 +0200)
commitde8c0ece06c556d87050e158f49d1fd898523cb7
treeefe5be05cece2009666c1cfeef45afe1dca93ea7
parent9bc9ed26158f8fef8b4e1f42d7a1ec86d3980555
test: dm: Don't bail on all tests if one test fails

There's not much point in having a failure count if we always give up on
the first failure. Also stop clearing the entire state between tests.

Make sure that any failures are still passed out to the command line.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/test-main.c