tests: enable DT overlay tests by default
PATCH v2 1/1 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 <[email protected]>
---
We cannot select OF_LIBFDT_OVERLAY is OF_CONTROL is not enabled.
--- test/overlay/Kconfig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
test/overlay/Kconfig +3 -4
@@ -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.
Signature · 1 line
2.19.2
PATCH v2 1/1 tests: enable DT overlay tests by default
Quoted 7 lines · Heinrich Schuchardt
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 <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181227/578bbc66/attachment.sig>