From d27f2fc1e19c70d529932cf5725259dded19d5fd Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Wed, 27 Jan 2016 23:57:53 -0700 Subject: test/py: run sandbox in source directory Some unit tests expect the cwd of the sandbox process to be the root of the source tree. Ensure that requirement is met. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- test/py/u_boot_console_sandbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/py/u_boot_console_sandbox.py') diff --git a/test/py/u_boot_console_sandbox.py b/test/py/u_boot_console_sandbox.py index bbf41e788b..a7263f30b8 100644 --- a/test/py/u_boot_console_sandbox.py +++ b/test/py/u_boot_console_sandbox.py @@ -44,7 +44,7 @@ class ConsoleSandbox(ConsoleBase): '-d', self.config.build_dir + '/arch/sandbox/dts/test.dtb' ] - return Spawn(cmd) + return Spawn(cmd, cwd=self.config.source_dir) def kill(self, sig): """Send a specific Unix signal to the sandbox process. -- cgit v1.2.3