From 313438c971d42a2cb1abfc824ece4e6c1b82776a Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 30 Apr 2022 00:56:55 -0600 Subject: vpl: Support running vpl tests Add support for these to the pytest system. Signed-off-by: Simon Glass --- test/py/u_boot_console_sandbox.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/py/u_boot_console_sandbox.py') diff --git a/test/py/u_boot_console_sandbox.py b/test/py/u_boot_console_sandbox.py index ce4ca7e55ef..cef416d738f 100644 --- a/test/py/u_boot_console_sandbox.py +++ b/test/py/u_boot_console_sandbox.py @@ -43,7 +43,12 @@ class ConsoleSandbox(ConsoleBase): bcfg = self.config.buildconfig config_spl = bcfg.get('config_spl', 'n') == 'y' - fname = '/spl/u-boot-spl' if config_spl else '/u-boot' + config_vpl = bcfg.get('config_vpl', 'n') == 'y' + if config_vpl: + # Run TPL first, which runs VPL + fname = '/tpl/u-boot-tpl' + else: + fname = '/spl/u-boot-spl' if config_spl else '/u-boot' print(fname) cmd = [] if self.config.gdbserver: -- cgit v1.2.3