]> git.sur5r.net Git - u-boot/blobdiff - test/py/conftest.py
test/py: Handle testing with the sandbox_spl board
[u-boot] / test / py / conftest.py
index 449f98bee39cb1ecc2d7758af18e72e98d7283a0..050f6e409db99b247e1682a0d7a11214ef720578 100644 (file)
@@ -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: