test: Move export_env_build_path to util.py
This commit is contained in:
2 files changed
+9
-5
No files matched your search
@@ -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))
|
||||
|
||||
|
||||
Reference in new issue
Block a user