|
153 | 153 | 'feature_blocksdir.py',
|
154 | 154 | 'feature_config_args.py',
|
155 | 155 | 'feature_help.py',
|
156 |
| - 'feature_mandatory_coinbase.py', |
157 | 156 | # Don't append tests at the end to avoid merge conflicts
|
158 | 157 | # Put them in a random line within the section that fits their approximate run-time
|
159 | 158 | ]
|
@@ -286,7 +285,7 @@ def main():
|
286 | 285 | if args.help:
|
287 | 286 | # Print help for test_runner.py, then print help of the first script (with args removed) and exit.
|
288 | 287 | parser.print_help()
|
289 |
| - subprocess.check_call([sys.executable, os.path.join(config["environment"]["SRCDIR"], 'test', 'functional', test_list[0].split()[0]), '-h']) |
| 288 | + subprocess.check_call([sys.executable, os.path.join(config["environment"]["SRCDIR"], 'test', 'bitcoin_functional', 'functional', test_list[0].split()[0]), '-h']) |
290 | 289 | sys.exit(0)
|
291 | 290 |
|
292 | 291 | check_script_list(config["environment"]["SRCDIR"])
|
@@ -322,7 +321,7 @@ def run_tests(test_list, src_dir, build_dir, tmpdir, jobs=1, enable_coverage=Fal
|
322 | 321 | if os.path.isdir(cache_dir):
|
323 | 322 | print("%sWARNING!%s There is a cache directory here: %s. If tests fail unexpectedly, try deleting the cache directory." % (BOLD[1], BOLD[0], cache_dir))
|
324 | 323 |
|
325 |
| - tests_dir = src_dir + '/test/functional/' |
| 324 | + tests_dir = src_dir + '/test/bitcoin_functional/functional/' |
326 | 325 |
|
327 | 326 | flags = ['--cachedir={}'.format(cache_dir)] + args
|
328 | 327 |
|
@@ -538,7 +537,7 @@ def check_script_list(src_dir):
|
538 | 537 |
|
539 | 538 | Check that there are no scripts in the functional tests directory which are
|
540 | 539 | not being run by pull-tester.py."""
|
541 |
| - script_dir = src_dir + '/test/functional/' |
| 540 | + script_dir = src_dir + '/test/bitcoin_functional/functional/' |
542 | 541 | python_files = set([test_file for test_file in os.listdir(script_dir) if test_file.endswith(".py")])
|
543 | 542 | missed_tests = list(python_files - set(map(lambda x: x.split()[0], ALL_SCRIPTS + NON_SCRIPTS)))
|
544 | 543 | if len(missed_tests) != 0:
|
|
0 commit comments