gh-146410: Add --pythoninfo option to regrtest#146413
Conversation
* Android now runs tests with --pythoninfo to dump build information. * Add display_title() function.
|
@freakboy3742 @mhsmith: Does it sound like a reasonable addition to the Android buildbot? |
|
If this approach is successful on Android, I will propose a similar change for iOS which also lacks |
freakboy3742
left a comment
There was a problem hiding this comment.
+1 - definitely seems like a good idea to me, and I agree adding the equivalent to iOS would also make sense (Apple/__main__.py has an analogous test entry point).
|
Ok I merged my PR, thanks for the review. |
|
I will keep an eye on the Android buildbot to see how it goes: https://buildbot.python.org/#/builders/1594. |
|
Nice! https://buildbot.python.org/#/builders/1594/builds/4361 ran with my change and it works as expected. Extract of test logs: And I was looking for this information: By the way, I can see that Android is also affected by the issue gh-145410: sys.version is truncated, it doesn't display the full Clang version: |
|
Looks good to me. For future reference, you can also see this in the GitHub Actions run: GHA doesn't support testing Android on aarch64, but works fine on x86_64. |
I noticed that Android on aarch64 doesn't run tests, but I missed the fact that Android on x86_64 runs tests in GHA! That's great! |
python -m test.pythoninfo#146410