@@ -569,7 +569,6 @@ def print_warning_missing_test(test_name):
569
569
570
570
run_tests (
571
571
test_list = test_list ,
572
- src_dir = config ["environment" ]["SRCDIR" ],
573
572
build_dir = config ["environment" ]["BUILDDIR" ],
574
573
tmpdir = tmpdir ,
575
574
jobs = args .jobs ,
@@ -581,7 +580,7 @@ def print_warning_missing_test(test_name):
581
580
results_filepath = results_filepath ,
582
581
)
583
582
584
- def run_tests (* , test_list , src_dir , build_dir , tmpdir , jobs = 1 , enable_coverage = False , args = None , combined_logs_len = 0 , failfast = False , use_term_control , results_filepath = None ):
583
+ def run_tests (* , test_list , build_dir , tmpdir , jobs = 1 , enable_coverage = False , args = None , combined_logs_len = 0 , failfast = False , use_term_control , results_filepath = None ):
585
584
args = args or []
586
585
587
586
# Warn if bitcoind is already running
@@ -604,7 +603,7 @@ def run_tests(*, test_list, src_dir, build_dir, tmpdir, jobs=1, enable_coverage=
604
603
print (f"{ BOLD [1 ]} WARNING!{ BOLD [0 ]} There may be insufficient free space in { tmpdir } to run the Bitcoin functional test suite. "
605
604
f"Running the test suite with fewer than { min_space // (1024 * 1024 )} MB of free space might cause tests to fail." )
606
605
607
- tests_dir = build_dir + ' /test/functional/'
606
+ tests_dir = f" { build_dir } /test/functional/"
608
607
# This allows `test_runner.py` to work from an out-of-source build directory using a symlink,
609
608
# a hard link or a copy on any platform. See https://github.com/bitcoin/bitcoin/pull/27561.
610
609
sys .path .append (tests_dir )
0 commit comments