10000 gh-114099 - Add iOS testbed, plus Makefile target to invoke it. by freakboy3742 · Pull Request #115930 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-114099 - Add iOS testbed, plus Makefile target to invoke it. #115930

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 12 commits into from
Mar 7, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update README instructions for running the test suite.
  • Loading branch information
freakboy3742 committed Feb 29, 2024
commit 0c720f2cecbfa5bc55e0d5dc82a6588785d81d84
14 changes: 7 additions & 7 deletions iOS/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ suite passes.

To run the test suite, configure a Python build for an iOS simulator (i.e.,
``--host=arm64-apple-ios-simulator`` or ``--host=x86_64-apple-ios-simulator``
), setting the framework location to the testbed project::

--enable-framework="$(pwd)/iOS/testbed/Python.xcframework/ios-arm64_x86_64-simulator"

Then run ``make all install testios``. This will build an iOS framework for your
chosen architecture, install the Python iOS framework into the testbed project,
and run the test suite on an "iPhone SE (3rd generation)" simulator.
), specifying a framework build (i.e. ``--enable-framework``). Then run ``make
testios`` (ensuring that your ``PATH`` has been configured to include the
``iOS/Resources/bin`` folder, and exclude any non-iOS tools). This will build
an iOS framework for your chosen architecture, copy the testbed project into
the ``build`` directory, install the Python iOS framework into the build copy
of the testbed project, and run the test suite on an "iPhone SE (3rd
generation)" simulator.

While the test suite is running, Xcode does not display any console output.
After showing some Xcode build commands, the console output will print ``Testing
Expand Down
0