Skip to content

Remove pipes module from LIT tests #510

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

Merged
merged 1 commit into from
Jul 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Tests/Functional/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import tempfile
import shlex
import sys
import lit
import pipes
import re

# Set up lit config.
Expand Down Expand Up @@ -141,7 +140,7 @@ xctest_checker = os.path.join(
config.substitutions.append(('%{xctest_checker}', '%%{python} %s' % xctest_checker))

# Add Python to run xctest_checker.py tests as part of XCTest tests
config.substitutions.append( ('%{python}', pipes.quote(sys.executable)) )
config.substitutions.append( ('%{python}', shlex.quote(sys.executable)) )

# Conditionally report the Swift 5.5 Concurrency runtime as available depending on the OS and version.
# Darwin is the only platform where this is a limitation.
Expand Down