Bug 261071

Summary: test-webkitpy doesn't run resultsdbpy tests
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: NEW ---    
Severity: Normal CC: aakash_jain, jbedard, mcatanzaro, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=260877
https://bugs.webkit.org/show_bug.cgi?id=201928

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>