Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make lit TestRunner.py work in Python 3 #1528

Merged
merged 1 commit into from
Jul 24, 2020

Conversation

compnerd
Copy link
Collaborator

Summary: In Python3 SubstituteCaptures are no longer converted to String implicitly behind the scenes. Converting explicitly makes the TestRunner to work in Python3.

Reviewers: gribozavr2, compnerd

Reviewed By: gribozavr2

Subscribers: tbkka, delcypher, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81361

(cherry picked from commit b49d47f)

Summary: In Python3 SubstituteCaptures are no longer converted to String implicitly behind the scenes. Converting explicitly makes the TestRunner to work in Python3.

Reviewers: gribozavr2, compnerd

Reviewed By: gribozavr2

Subscribers: tbkka, delcypher, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81361

(cherry picked from commit b49d47f)
@compnerd
Copy link
Collaborator Author

CC: @hlopko @tbkka @drexin @shahmishal @hyp

This change enables the use of Python 3 for the Swift test suite, it is merged upstream and this cherry-picks it into the current stable branch. I will be making a separate cherry-pick for the next branch point.

@compnerd
Copy link
Collaborator Author

@swift-ci please test

Copy link

@hyp hyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@compnerd compnerd merged commit 99855ff into apple:apple/stable/20200108 Jul 24, 2020
@compnerd compnerd deleted the lit branch July 24, 2020 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants