mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 10:42:13 +02:00
test: Move export_env_build_path to util.py
This commit is contained in:
@@ -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