-
Notifications
You must be signed in to change notification settings - Fork 10.5k
test: attempt to quote python interpreter path #32573
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
Conversation
@swift-ci please test Windows platform |
Attempt to properly quote the python interpreter path in the lit configuration. This was quoted in some places but not others. This attempts to homogenise the path quoting.
23b9e8a
to
6d63d95
Compare
@swift-ci please test Windows platform |
1 similar comment
@swift-ci please test Windows platform |
CC: @tachoknight @drexin @yln |
@@ -377,7 +377,8 @@ config.substitutions.append( ('%validate-incrparse', '%{python} %utils/incrparse | |||
config.substitutions.append( ('%incr-transfer-tree', '%{python} %utils/incrparse/incr_transfer_tree.py --temp-dir %t --swift-syntax-test %swift-syntax-test') ) | |||
config.substitutions.append( ('%swift_obj_root', config.swift_obj_root) ) | |||
config.substitutions.append( ('%swift_src_root', config.swift_src_root) ) | |||
config.substitutions.append( ('%{python}', sys.executable) ) | |||
config.substitutions.append( ('%{python}', pipes.quote(sys.executable)) ) | |||
config.substitutions.append( ('%{python.unquoted}', sys.executable) ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the actual change as discussed in #32571.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please wait for one more approval from a Swift maintainer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@swift-ci please test macOS platform |
@swift-ci please test Linux platform |
Build failed |
@swift-ci please test Linux platform |
Attempt to properly quote the python interpreter path in the lit configuration. This
was quoted in some places but not others. This attempts to homogenise the path quoting.
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.