scripts: sanitycheck: import edtlib
This is a cargo-culted attempt to make an error observed in poorly understood CI circumstances go away when loading edt.pickle, by making edtlib visible in sys.modules before loading the pickle file. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
517633c101
commit
469f53c210
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ if not ZEPHYR_BASE:
|
|||
|
||||
# This is needed to load edt.pickle files.
|
||||
sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts", "dts"))
|
||||
import edtlib # pylint: disable=unused-import
|
||||
|
||||
hw_map_local = threading.Lock()
|
||||
report_lock = threading.Lock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue