From: Simon Glass Date: Mon, 4 Jul 2016 11:58:37 -0600 Subject: [U-Boot] [PATCH v3 57/62] test/py: Handle testing with the sandbox_spl board In-Reply-To: <1467655123-29441-1-git-send-email-sjg@chromium.org> References: <1467655123-29441-1-git-send-email-sjg@chromium.org> Message-ID: <1467655123-29441-58-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- Changes in v3: - Add new patch to handle testing with the sandbox_spl board Changes in v2: None test/py/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/conftest.py b/test/py/conftest.py index 5b16456..5b3a923 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -193,7 +193,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: -- 2.8.0.rc3.226.g39d4020