diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-01-27 23:57:53 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-28 21:01:24 -0700 |
commit | d27f2fc1e19c70d529932cf5725259dded19d5fd (patch) | |
tree | 72fd2ade5f59242f74d8332d9710fa562e259a80 /test/py/u_boot_console_sandbox.py | |
parent | 77bcb22d77d1b1975c166755b012e0c0c1abb50a (diff) | |
download | u-boot-d27f2fc1e19c70d529932cf5725259dded19d5fd.tar.gz |
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 <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/u_boot_console_sandbox.py')
-rw-r--r-- | test/py/u_boot_console_sandbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. |