]> git.ipfire.org Git - people/ms/u-boot.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)
committerTom Rini <trini@konsulko.com>
Thu, 21 May 2015 13:16:17 +0000 (09:16 -0400)
commit7cccc66af5c33b0ceb67fb9a77b82e93a734091e
tree556721f5c9f38e39361b443f95a61cb02c838af3
parentfeb384725097cf00c22690a2298e653b9b62fb70
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