diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 17:58:37 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-15 02:40:24 (GMT) |
commit | 2fedbaa4aea4f781863c9b11879ae4d43149c447 (patch) | |
tree | fb3ce5cbda4c886c9b26c3a5dd736c150975ff68 | |
parent | 97feca3325bb2065a7ef7d30e1f308b74f1fb33c (diff) | |
download | u-boot-2fedbaa4aea4f781863c9b11879ae4d43149c447.tar.xz |
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>
-rw-r--r-- | test/py/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/conftest.py b/test/py/conftest.py index 449f98b..050f6e4 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: |