mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 06:46:00 +00:00
test/py: pass test DTB to sandbox
This is required for at least "ut dm" to operate correctly. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
78b39cc3e1
commit
77bcb22d77
1 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue