diff options
author | Lőrinc <pap.lorinc@gmail.com> | 2024-08-18 20:30:18 +0200 |
---|---|---|
committer | Lőrinc <pap.lorinc@gmail.com> | 2024-08-30 12:08:54 +0200 |
commit | 2ad560139b80e149844f285cd1456bb7cc0eb1ee (patch) | |
tree | b1ac0977d0115b131909bf205c25d4f77e655f57 /test | |
parent | 3ee1521c048a41bc1e876d90261db677ec958f72 (diff) | |
download | bitcoin-2ad560139b80e149844f285cd1456bb7cc0eb1ee.tar.xz |
Remove unused src_dir param from run_tests
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/test_runner.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index 59c37aa18f..5637e84c5f 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -560,7 +560,6 @@ def main(): run_tests( test_list=test_list, - src_dir=config["environment"]["SRCDIR"], build_dir=config["environment"]["BUILDDIR"], tmpdir=tmpdir, jobs=args.jobs, @@ -572,7 +571,7 @@ def main(): results_filepath=results_filepath, ) -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): +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): args = args or [] # Warn if bitcoind is already running @@ -595,7 +594,7 @@ def run_tests(*, test_list, src_dir, build_dir, tmpdir, jobs=1, enable_coverage= print(f"{BOLD[1]}WARNING!{BOLD[0]} There may be insufficient free space in {tmpdir} to run the Bitcoin functional test suite. " f"Running the test suite with fewer than {min_space // (1024 * 1024)} MB of free space might cause tests to fail.") - tests_dir = build_dir + '/test/functional/' + tests_dir = f"{build_dir}/test/functional/" # This allows `test_runner.py` to work from an out-of-source build directory using a symlink, # a hard link or a copy on any platform. See https://github.com/bitcoin/bitcoin/pull/27561. sys.path.append(tests_dir) |