test: Move export_env_build_path to util.py

This commit is contained in:
MarcoFalke committed 2025-10-15 14:25:58 +02:00
1 parent fa9f495308
commit fa75ef4328
2 files changed
+9 -5

No files matched your search

+7
View File
@@ -322,6 +322,13 @@ def get_binary_paths(config):
return paths
def export_env_build_path(config):
os.environ["PATH"] = os.pathsep.join([
os.path.join(config["environment"]["BUILDDIR"], "bin"),
os.environ["PATH"],
])
def count_bytes(hex_string):
return len(bytearray.fromhex(hex_string))