From: Simon Glass Date: Mon, 4 Jul 2016 17:58:37 +0000 (-0600) Subject: test/py: Handle testing with the sandbox_spl board X-Git-Tag: v2016.09-rc1~82^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2fedbaa4aea4f781863c9b11879ae4d43149c447;p=u-boot 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 --- diff --git a/test/py/conftest.py b/test/py/conftest.py index 449f98bee3..050f6e409d 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -192,7 +192,7 @@ def pytest_configure(config): for v in env_vars: os.environ['U_BOOT_' + v.upper()] = getattr(ubconfig, v) - if board_type == 'sandbox': + if board_type.startswith('sandbox'): import u_boot_console_sandbox console = u_boot_console_sandbox.ConsoleSandbox(log, ubconfig) else: