From: Stephen Warren Date: Thu, 28 Jan 2016 06:57:52 +0000 (-0700) Subject: test/py: pass test DTB to sandbox X-Git-Tag: v2016.03-rc1~41^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=77bcb22d77d1b1975c166755b012e0c0c1abb50a;p=oweals%2Fu-boot.git test/py: pass test DTB to sandbox This is required for at least "ut dm" to operate correctly. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- diff --git a/test/py/u_boot_console_sandbox.py b/test/py/u_boot_console_sandbox.py index 267f8b0650..bbf41e788b 100644 --- a/test/py/u_boot_console_sandbox.py +++ b/test/py/u_boot_console_sandbox.py @@ -39,7 +39,12 @@ class ConsoleSandbox(ConsoleBase): 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): """Send a specific Unix signal to the sandbox process.