@@ -560,7 +560,6 @@ def main():
560
560
561
561
run_tests (
562
562
test_list = test_list ,
563
- src_dir = config ["environment" ]["SRCDIR" ],
564
563
build_dir = config ["environment" ]["BUILDDIR" ],
565
564
tmpdir = tmpdir ,
566
565
jobs = args .jobs ,
@@ -572,7 +571,7 @@ def main():
572
571
results_filepath = results_filepath ,
573
572
)
574
573
575
- 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 ):
574
+ 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 ):
576
575
args = args or []
577
576
578
577
# Warn if bitcoind is already running
@@ -595,7 +594,7 @@ def run_tests(*, test_list, src_dir, build_dir, tmpdir, jobs=1, enable_coverage=
595
594
print (f"{ BOLD [1 ]} WARNING!{ BOLD [0 ]} There may be insufficient free space in { tmpdir } to run the Bitcoin functional test suite. "
596
595
f"Running the test suite with fewer than { min_space // (1024 * 1024 )} MB of free space might cause tests to fail." )
597
596
598
- tests_dir = build_dir + ' /test/functional/'
597
+ tests_dir = f" { build_dir } /test/functional/"
599
598
# This allows `test_runner.py` to work from an out-of-source build directory using a symlink,
600
599
# a hard link or a copy on any platform. See https://github.com/bitcoin/bitcoin/pull/27561.
601
600
sys .path .append (tests_dir )
0 commit comments