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

Correct timing sensitivity in iOS testing Makefile target. #118620

Merged
merged 1 commit into from
May 6, 2024

Conversation

freakboy3742
Copy link
Contributor

CI run 199 on the iOS buildbot failed because of a niche edge case: due to the specific time at which the test ran, the system clock ticked over a second between copying the built framework into the test folder, and starting the test.

This is a problem because XCFOLDER is defined with = syntax, but also includes a dynamic $(shell) invocation. The use of = means the value is evaluated on use, rather than once at time of definition.

This modifies the Makefile.pre.in to use := syntax when creating the timestamp name; this ensures that the datestamp used in the build folder name is evaluated on definition, not use.

@ned-deily ned-deily merged commit dd37e85 into python:main May 6, 2024
34 checks passed
@freakboy3742 freakboy3742 deleted the ios-make-timestamp branch May 6, 2024 02:55
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 6, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants