dm: test: Don't fail when tests are skipped due to build
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:55:52 +0000 (08:55 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:38 +0000 (13:57 +0800)
commitad9504793622c3c745460572b236109e2d69bae4
tree18ed87938d19f6a459ffb18d3cf876149a0f5358
parentfe9a967925521c78fb52621ee760ead381a80cb7
dm: test: Don't fail when tests are skipped due to build

At present tests that are marked as only for livetree fail when executed
on sandbox_flattree. They cannot actually be executed, but we should not
resport them as 'not found', since this causes errors. Instead, they
should be silently skipped.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
test/dm/test-main.c