summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-12-15 00:43:48 +0300
committerTom Rini <trini@konsulko.com>2018-12-27 02:24:26 +0300
commit5766a271761210a78faf04b68136676a672fabc4 (patch)
treeb4c3ff72e7326a110784e5c1bf0ff6be832f43b5
parent94ca269049e2a57107c3d7a3713e8bfd054a2153 (diff)
downloadu-boot-5766a271761210a78faf04b68136676a672fabc4.tar.xz
tests: enable DT overlay tests by default
Enable device tree overlay tests by default if unit tests are selected and the runtime is configured via device tree. Overlays have been mainlined in the device tree compiler so there is no reason anymore to disable the tests by default. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--test/overlay/Kconfig7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/overlay/Kconfig b/test/overlay/Kconfig
index 13c85428cb..a4f154415d 100644
--- a/test/overlay/Kconfig
+++ b/test/overlay/Kconfig
@@ -1,11 +1,10 @@
config UT_OVERLAY
bool "Enable Device Tree Overlays Unit Tests"
- depends on OF_LIBFDT_OVERLAY
- depends on UNIT_TEST
+ depends on UNIT_TEST && OF_CONTROL
+ default y
+ select OF_LIBFDT_OVERLAY
help
This enables the 'ut overlay' command which runs a series of unit
tests on the fdt overlay code.
If all is well then all tests pass although there will be a few
messages printed along the way.
- Be warned that it requires an out-of-tree dtc compiler with patches
- to support the DT overlays, otherwise it will fail.