diff options
author | Tom Rini <trini@konsulko.com> | 2023-12-13 16:02:38 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-13 18:39:06 -0500 |
commit | 86f623dcf89c6037b34788650c42b02b501e6d27 (patch) | |
tree | 504c8045e6505a08fa4a2ae6355a220d2d9dd98b /test/py | |
parent | 9565771076c2d4b0193f1741b3990695ac33c1f3 (diff) | |
parent | 229c4da6ca183b91f2ad928ecec47e073bce1b1a (diff) |
Merge tag 'dm-next-13dec23' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next
minor improvements to test, acpi
updates for new PyPl release
Diffstat (limited to 'test/py')
-rwxr-xr-x | test/py/tests/test_fit.py | 6 | ||||
-rw-r--r-- | test/py/tests/test_vboot.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/py/tests/test_fit.py b/test/py/tests/test_fit.py index f45848484eb..04f64fd4bc6 100755 --- a/test/py/tests/test_fit.py +++ b/test/py/tests/test_fit.py @@ -390,10 +390,10 @@ def test_fit(u_boot_console): cons = u_boot_console + # We need to use our own device tree file. Remember to restore it + # afterwards. + old_dtb = cons.config.dtb try: - # We need to use our own device tree file. Remember to restore it - # afterwards. - old_dtb = cons.config.dtb mkimage = cons.config.build_dir + '/tools/mkimage' run_fit_test(mkimage) finally: diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py index 04fa59f98b0..7e0e8e44750 100644 --- a/test/py/tests/test_vboot.py +++ b/test/py/tests/test_vboot.py @@ -533,10 +533,10 @@ def test_vboot(u_boot_console, name, sha_algo, padding, sign_options, required, with open(evil_kernel, 'wb') as fd: fd.write(500 * b'\x01') + # We need to use our own device tree file. Remember to restore it + # afterwards. + old_dtb = cons.config.dtb try: - # We need to use our own device tree file. Remember to restore it - # afterwards. - old_dtb = cons.config.dtb cons.config.dtb = dtb if global_sign: test_global_sign(sha_algo, padding, sign_options) |