Merge bitcoin/bitcoin#28181: qa, doc: Fix comment

ab498d913c6f9f6096c75cc43a91e7a12cfc3fb7 qa, doc: Fix comment (Hennadii Stepanov)

Pull request description:

  This PR is a follow-up for:
  - https://github.com/bitcoin/bitcoin/pull/9956
  - https://github.com/bitcoin/bitcoin/pull/10096

ACKs for top commit:
  RandyMcMillan:
    ACK ab498d913c6f9f6096c75cc43a91e7a12cfc3fb7

Tree-SHA512: 267ae52c961ee79e172f27cb1587282ac5cf7ec929a136db6feed3de4f319a74b462befd9b99711081db8a5c30a513f72366364068700418b273a31958b31b1d
This commit is contained in:
fanquake 2023-07-31 10:51:38 +01:00 committed by pasta
parent 933a63e8fc
commit 24e57da770
No known key found for this signature in database
GPG Key ID: E2F3D7916E722D38

View File

@ -826,8 +826,8 @@ def check_script_prefixes():
def check_script_list(*, src_dir, fail_on_warn): def check_script_list(*, src_dir, fail_on_warn):
"""Check scripts directory. """Check scripts directory.
Check that there are no scripts in the functional tests directory which are Check that all python files in this directory are categorized
not being run by pull-tester.py.""" as a test script or meta script."""
script_dir = src_dir + '/test/functional/' script_dir = src_dir + '/test/functional/'
python_files = set([test_file for test_file in os.listdir(script_dir) if test_file.endswith(".py")]) python_files = set([test_file for test_file in os.listdir(script_dir) if test_file.endswith(".py")])
missed_tests = list(python_files - set(map(lambda x: x.split()[0], ALL_SCRIPTS + NON_SCRIPTS))) missed_tests = list(python_files - set(map(lambda x: x.split()[0], ALL_SCRIPTS + NON_SCRIPTS)))