test: Move export_env_build_path to util.py

This commit is contained in:
MarcoFalke
2025-08-06 15:31:32 +02:00
parent fa9f495308
commit fa75ef4328
2 changed files with 9 additions and 5 deletions

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))