mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 5421dc3244 into merged_master (Bitcoin PR bitcoin/bitcoin#27561)
This commit is contained in:
commit
262f287dbb
1 changed files with 6 additions and 2 deletions
|
|
@ -575,6 +575,12 @@ def run_tests(*, test_list, src_dir, build_dir, tmpdir, jobs=1, enable_coverage=
|
|||
|
||||
# Test Framework Tests
|
||||
print("Running Unit Tests for Test Framework Modules")
|
||||
|
||||
tests_dir = src_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)
|
||||
|
||||
test_framework_tests = unittest.TestSuite()
|
||||
for module in TEST_FRAMEWORK_MODULES:
|
||||
test_framework_tests.addTest(unittest.TestLoader().loadTestsFromName("test_framework.{}".format(module)))
|
||||
|
|
@ -583,8 +589,6 @@ def run_tests(*, test_list, src_dir, build_dir, tmpdir, jobs=1, enable_coverage=
|
|||
logging.debug("Early exiting after failure in TestFramework unit tests")
|
||||
sys.exit(False)
|
||||
|
||||
tests_dir = src_dir + '/test/functional/'
|
||||
|
||||
flags = ['--cachedir={}'.format(cache_dir)] + args
|
||||
|
||||
if enable_coverage:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue