Skip to content

Commit

Permalink
restore env var
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Sep 19, 2024
1 parent 8c4e538 commit bcedbc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions zebra-rpc/qa/pull-tester/rpc-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def run_tests(test_handler, test_list, src_dir, build_dir, exeext, jobs=1, enabl
BOLD = ('\033[0m', '\033[1m')

#Set env vars
#if "ZEBRAD" not in os.environ:
# os.environ["ZEBRAD"] = build_dir + '/target/debug/zebrad' + exeext
if "CARGO_BIN_EXE_zebrad" not in os.environ:
os.environ["CARGO_BIN_EXE_zebrad"] = os.path.join("..", "target", "debug", "zebrad")

tests_dir = src_dir + '/qa/rpc-tests/'

Expand Down
4 changes: 2 additions & 2 deletions zebra-rpc/qa/rpc-tests/test_framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ def __init__(self):

def add_options(self, parser):
parser.add_option("--testbinary", dest="testbinary",
default=os.getenv("ZEBRAD", zcashd_binary()),
default=os.getenv("CARGO_BIN_EXE_zebrad", zcashd_binary()),
help="zebrad binary to test")
parser.add_option("--refbinary", dest="refbinary",
default=os.getenv("ZEBRAD", zcashd_binary()),
default=os.getenv("CARGO_BIN_EXE_zebrad", zcashd_binary()),
help="zebrad binary to use for reference nodes (if any)")

def setup_network(self):
Expand Down

0 comments on commit bcedbc2

Please sign in to comment.