diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-07-18 10:07:25 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-22 14:46:24 -0400 |
commit | c9ba60c4385bfbc10dc452a8f79c6db04bf18161 (patch) | |
tree | b8c6cd9c93d9438e40c2eccfa2c894676b470685 | |
parent | b8cb51d0de9457c270e63e876712213c5cbbf5dc (diff) | |
download | u-boot-imx-c9ba60c4385bfbc10dc452a8f79c6db04bf18161.zip u-boot-imx-c9ba60c4385bfbc10dc452a8f79c6db04bf18161.tar.gz u-boot-imx-c9ba60c4385bfbc10dc452a8f79c6db04bf18161.tar.bz2 |
test/py: use absolute dts path in vboot test
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>
-rw-r--r-- | test/py/tests/test_vboot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py index c779895..25a7832 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' |