Skip to content
Snippets Groups Projects
Commit 77bcb22d authored by Stephen Warren's avatar Stephen Warren Committed by Simon Glass
Browse files

test/py: pass test DTB to sandbox


This is required for at least "ut dm" to operate correctly.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 78b39cc3
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,12 @@ class ConsoleSandbox(ConsoleBase): ...@@ -39,7 +39,12 @@ class ConsoleSandbox(ConsoleBase):
A u_boot_spawn.Spawn object that is attached to U-Boot. A u_boot_spawn.Spawn object that is attached to U-Boot.
""" """
return Spawn([self.config.build_dir + '/u-boot']) cmd = [
self.config.build_dir + '/u-boot',
'-d',
self.config.build_dir + '/arch/sandbox/dts/test.dtb'
]
return Spawn(cmd)
def kill(self, sig): def kill(self, sig):
"""Send a specific Unix signal to the sandbox process. """Send a specific Unix signal to the sandbox process.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment