dm: core: Run tests with both livetree and flat tree
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:17 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:10 +0000 (07:03 -0600)
commit6fb2f57916bac47458ca7597b27617a99c492b28
treeccd09ac48531b9a083a50e0a10594ba873ec4bb8
parentc166c47ba3a699df58e2ade8935158df65b034ba
dm: core: Run tests with both livetree and flat tree

Some tests require either livetree or flat tree. Add flags to allow the
tests to specify this. Adjust the test runner to run with livetree (if
supported) and then flat tree.

Some video tests are quite slow and running on flat tree adds little extra
test value, so run these on livetree only.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/test.h
include/test/test.h
test/dm/test-main.c