All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] test/py: use absolute dts path in vboot test
@ 2016-07-18 16:07 Stephen Warren
  2016-07-22  3:22 ` Simon Glass
  2016-07-23  0:13 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Warren @ 2016-07-18 16:07 UTC (permalink / raw)
  To: u-boot

From: Stephen Warren <swarren@nvidia.com>

Without this, the test fails if the test is run with a cwd other than the
root of the U-Boot source tree.

Fixes: 8729d582595d ("test: Convert the vboot test to test/py")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 test/py/tests/test_vboot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py
index c77989591c7e..25a78324e25d 100644
--- a/test/py/tests/test_vboot.py
+++ b/test/py/tests/test_vboot.py
@@ -151,7 +151,7 @@ def test_vboot(u_boot_console):
     cons = u_boot_console
     tmpdir = cons.config.result_dir + '/'
     tmp = tmpdir + 'vboot.tmp'
-    datadir = 'test/py/tests/vboot/'
+    datadir = cons.config.source_dir + '/test/py/tests/vboot/'
     fit = '%stest.fit' % tmpdir
     mkimage = cons.config.build_dir + '/tools/mkimage'
     fit_check_sign = cons.config.build_dir + '/tools/fit_check_sign'
-- 
2.9.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] test/py: use absolute dts path in vboot test
  2016-07-18 16:07 [U-Boot] [PATCH] test/py: use absolute dts path in vboot test Stephen Warren
@ 2016-07-22  3:22 ` Simon Glass
  2016-07-23  0:13 ` [U-Boot] " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2016-07-22  3:22 UTC (permalink / raw)
  To: u-boot

On 18 July 2016 at 10:07, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> Without this, the test fails if the test is run with a cwd other than the
> root of the U-Boot source tree.
>
> Fixes: 8729d582595d ("test: Convert the vboot test to test/py")
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
>  test/py/tests/test_vboot.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] test/py: use absolute dts path in vboot test
  2016-07-18 16:07 [U-Boot] [PATCH] test/py: use absolute dts path in vboot test Stephen Warren
  2016-07-22  3:22 ` Simon Glass
@ 2016-07-23  0:13 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-07-23  0:13 UTC (permalink / raw)
  To: u-boot

On Mon, Jul 18, 2016 at 10:07:25AM -0600, Stephen Warren wrote:

> From: Stephen Warren <swarren@nvidia.com>
> 
> Without this, the test fails if the test is run with a cwd other than the
> root of the U-Boot source tree.
> 
> Fixes: 8729d582595d ("test: Convert the vboot test to test/py")
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160722/170bcf18/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-23  0:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-18 16:07 [U-Boot] [PATCH] test/py: use absolute dts path in vboot test Stephen Warren
2016-07-22  3:22 ` Simon Glass
2016-07-23  0:13 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.