RESOLVED FIXED199578
test-webkitpy: Explicitly use Python 2.7 lldb library
https://bugs.webkit.org/show_bug.cgi?id=199578
Summary test-webkitpy: Explicitly use Python 2.7 lldb library
Jonathan Bedard
Reported 2019-07-08 10:57:01 PDT
In newer versions of Xcode, the default lldb Python library is the Python 3 library, explicitly use the Python 2.7 library.
Attachments
Patch (2.13 KB, patch)
2019-07-08 11:03 PDT, Jonathan Bedard
no flags
Jonathan Bedard
Comment 1 2019-07-08 10:57:19 PDT
Jonathan Bedard
Comment 2 2019-07-08 11:03:42 PDT
Jonathan Bedard
Comment 3 2019-07-08 11:04:55 PDT
Might get tripped up by TCC prompts on Catalina, but I think our bots should be fine because they have password-less sudo.
Aakash Jain
Comment 4 2019-07-08 12:09:59 PDT
Comment on attachment 373643 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=373643&action=review > Tools/Scripts/webkitpy/test/main.py:107 > build_version = _host.platform.build_version() Do we need this method (_supports_building_and_running_lldb_tests) at all after this change? Seems like it was added in https://trac.webkit.org/changeset/246662/webkit
Jonathan Bedard
Comment 5 2019-07-08 12:23:46 PDT
Comment on attachment 373643 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=373643&action=review >> Tools/Scripts/webkitpy/test/main.py:107 >> build_version = _host.platform.build_version() > > Do we need this method (_supports_building_and_running_lldb_tests) at all after this change? > > Seems like it was added in https://trac.webkit.org/changeset/246662/webkit I'd like to keep it until the FIX-ME is resolved. I think there is a non-zero chance we need to do this again (because of TCC prompts), and after r247139, this is also acting as a platform check for lldb tests, since they aren't supported on Linux at the moment.
WebKit Commit Bot
Comment 6 2019-07-08 12:57:33 PDT
Comment on attachment 373643 [details] Patch Clearing flags on attachment: 373643 Committed r247228: <https://trac.webkit.org/changeset/247228>
WebKit Commit Bot
Comment 7 2019-07-08 12:57:35 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.