test/py: Handle testing with the sandbox_spl board
This board can sometimes be used for tests. Handle it the same way as sandbox. Note: I plan to drop the sandbox_spl board at some point and merge its features into sandbox. So this commit may not be necessary. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
97feca3325
commit
2fedbaa4ae
|
@ -192,7 +192,7 @@ def pytest_configure(config):
|
||||||
for v in env_vars:
|
for v in env_vars:
|
||||||
os.environ['U_BOOT_' + v.upper()] = getattr(ubconfig, v)
|
os.environ['U_BOOT_' + v.upper()] = getattr(ubconfig, v)
|
||||||
|
|
||||||
if board_type == 'sandbox':
|
if board_type.startswith('sandbox'):
|
||||||
import u_boot_console_sandbox
|
import u_boot_console_sandbox
|
||||||
console = u_boot_console_sandbox.ConsoleSandbox(log, ubconfig)
|
console = u_boot_console_sandbox.ConsoleSandbox(log, ubconfig)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue