The Wayback Machine - https://web.archive.org/web/20260219061253/https://github.com/python/cpython/pull/118620
Skip to content

Correct timing sensitivity in iOS testing Makefile target.#118620

Merged
ned-deily merged 1 commit intopython:mainfrom
freakboy3742:ios-make-timestamp
May 6, 2024
Merged

Correct timing sensitivity in iOS testing Makefile target.#118620
ned-deily merged 1 commit intopython:mainfrom
freakboy3742:ios-make-timestamp

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.

@freakboy3742 freakboy3742 requested a review from ned-deily May 6, 2024 01:57
@ned-deily ned-deily merged commit dd37e85 into python:main May 6, 2024
@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
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Dec 13, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Feb 3, 2026
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Feb 3, 2026
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants

Comments