pytest: add sandbox test for "extension" command
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 4 May 2021 17:31:23 +0000 (19:31 +0200)
committerHan Gao <gaohan@iscas.ac.cn>
Fri, 20 Oct 2023 05:38:37 +0000 (13:38 +0800)
commitcccf006cae8e64b9c499ea3cd498604e9ae35172
treea0e19ea09fdcf0010762c93535f331368233007a
parentc86cc5402a3f1147e40367658e33c29dbf0d0d2b
pytest: add sandbox test for "extension" command

This commit extends the sandbox to implement a dummy
extension_board_scan() function and enables the extension command in
the sandbox configuration. It then adds a test that checks the proper
functionality of the extension command by applying two Device Tree
overlays to the sandbox Device Tree.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
[trini: Limit to running on sandbox]
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/Kconfig
arch/sandbox/dts/Makefile
arch/sandbox/dts/overlay0.dts [new file with mode: 0644]
arch/sandbox/dts/overlay1.dts [new file with mode: 0644]
board/sandbox/sandbox.c
test/py/tests/test_extension.py [new file with mode: 0644]