Bug 261071 - test-webkitpy doesn't run resultsdbpy tests
Summary: test-webkitpy doesn't run resultsdbpy tests
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-02 14:42 PDT by Sam Sneddon [:gsnedders]
Modified: 2023-09-09 14:43 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Sneddon [:gsnedders] 2023-09-02 14:42:38 PDT
Tools/Scripts/webkitpy/test/main.py contains:

    tester = Tester()
    tester.add_tree(os.path.join(_webkit_root, 'Tools', 'Scripts'), 'webkitpy')
    tester.add_tree(os.path.join(_webkit_root, 'Tools', 'Scripts', 'libraries', 'webkitcorepy'), 'webkitcorepy')
    tester.add_tree(os.path.join(_webkit_root, 'Tools', 'Scripts', 'libraries', 'webkitbugspy'), 'webkitbugspy')
    tester.add_tree(os.path.join(_webkit_root, 'Tools', 'Scripts', 'libraries', 'webkitscmpy'), 'webkitscmpy')
    tester.add_tree(os.path.join(_webkit_root, 'Tools', 'Scripts', 'libraries', 'webkitflaskpy'), 'webkitflaskpy')
    if sys.version_info > (3, 0):
        tester.add_tree(os.path.join(_webkit_root, 'Tools', 'Scripts', 'libraries', 'reporelaypy'), 'reporelaypy')

Notably, this omits resultsdbpy.

Including resultsdbpy is probably going to have to be conditional as it has dependencies (cassandra-driver) where no version supports Python 3.12.

Bug 201928 added the resultsdbpy tests to EWS, but the "normal" entry-point to our Python tests doesn't run them, which is perhaps surprising.
Comment 1 Radar WebKit Bug Importer 2023-09-09 14:43:17 PDT
<rdar://problem/115228881>