From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 27 Jan 2016 23:57:52 -0700 Subject: [U-Boot] [PATCH 7/9] test/py: pass test DTB to sandbox In-Reply-To: <1453964274-9129-1-git-send-email-swarren@wwwdotorg.org> References: <1453964274-9129-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <1453964274-9129-7-git-send-email-swarren@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Stephen Warren This is required for at least "ut dm" to operate correctly. Signed-off-by: Stephen Warren --- test/py/u_boot_console_sandbox.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/py/u_boot_console_sandbox.py b/test/py/u_boot_console_sandbox.py index 267f8b06508b..bbf41e788ba3 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. -- 2.7.0