diff options
author | Simon Glass <sjg@chromium.org> | 2022-04-30 00:56:55 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-05-02 09:58:13 -0400 |
commit | 313438c971d42a2cb1abfc824ece4e6c1b82776a (patch) | |
tree | 6b2e04b49f3ff8550f464992ca6ed6500d17be80 /test/py/u_boot_console_sandbox.py | |
parent | 9ae25b9ac9e295ecb50268fd926b220ad8f28e3b (diff) |
vpl: Support running vpl tests
Add support for these to the pytest system.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/u_boot_console_sandbox.py')
-rw-r--r-- | test/py/u_boot_console_sandbox.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/py/u_boot_console_sandbox.py b/test/py/u_boot_console_sandbox.py index ce4ca7e55e..cef416d738 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: |