Skip to content

Conversation

@freakboy3742
Copy link
Contributor

@freakboy3742 freakboy3742 commented Nov 12, 2025

Apply shell quoting to arguments used as test arguments in the iOS test runner.

This is needed because Xcode generates test arguments by a raw concatenation, even though there passed as an array of strings.

Copy link
Member

@ned-deily ned-deily left a comment

Choose a reason for hiding this comment

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

LGTM

@freakboy3742 freakboy3742 merged commit 558936b into python:main Nov 12, 2025
94 of 95 checks passed
@freakboy3742 freakboy3742 deleted the ios-test-arg-quoting branch November 12, 2025 21:41
@miss-islington-app
Copy link

Thanks @freakboy3742 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 12, 2025
Xcode concatenates the test argument array, losing quoting in the process.
(cherry picked from commit 558936bec1f1e0f8346063a8cb2b2782d085178e)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
@bedevere-app
Copy link

bedevere-app bot commented Nov 12, 2025

GH-141479 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Nov 12, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 12, 2025
Xcode concatenates the test argument array, losing quoting in the process.
(cherry picked from commit 558936b)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
@bedevere-app
Copy link

bedevere-app bot commented Nov 12, 2025

GH-141480 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Nov 12, 2025
freakboy3742 added a commit that referenced this pull request Nov 12, 2025
…141480)

Xcode concatenates the test argument array, losing quoting in the process.
(cherry picked from commit 558936b)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 added a commit that referenced this pull request Nov 12, 2025
…141479)

Xcode concatenates the test argument array, losing quoting in the process.
(cherry picked from commit 558936b)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
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.

2 participants