author | Kory Maincent <kory.maincent@bootlin.com> | |
Tue, 4 May 2021 17:31:23 +0000 (19:31 +0200) | ||
committer | Tom Rini <trini@konsulko.com> | |
Thu, 13 May 2021 17:09:09 +0000 (13:09 -0400) | ||
commit | 95300f203f3249ffb7a08222dc4d8106c5a6ceeb | |
tree | a26fd939eccb3eca623057083a4758507041520b | tree | snapshot (tar.xz tar.gz zip) |
parent | 2f84e9cf06d31aa703ff31301bf811b3fcfc16cf | commit | diff |
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>
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 | diff | blob | history | |
arch/sandbox/dts/Makefile | diff | blob | history | |
arch/sandbox/dts/overlay0.dts | [new file with mode: 0644] | blob |
arch/sandbox/dts/overlay1.dts | [new file with mode: 0644] | blob |
board/sandbox/sandbox.c | diff | blob | history | |
test/py/tests/test_extension.py | [new file with mode: 0644] | blob |