Terry J. Reedy added the comment:
The htests are for manual testing and they include one for sidebar, with
instructions to click and drag. We just need to remember to run them
occasionally on the various systems.
--
___
Python tracker
Ned Deily added the comment:
Running the GUI test on macOS buildbots is not straightforward, AFAIK. We'd
need to have either the console logged in to the username that the tests are
running under or, better, the buildbot would need to run in a virtual machine.
We have had a chronic shortage
Tal Einat added the comment:
While we're on the topic, it seems wise to have our macOS buildbot workers
create proper framework builds and run the GUI tests, if possible.
We should also try to get a macOS 10.15 ("Catalina") machine into our buildbot
fleet. Perhaps there's a company with
Tal Einat added the comment:
I had been running the GUI tests, apparently until the change Ned mentioned
whereby they are only run on framework builds of Python.
With Ned's help, I've finally managed to create a framework build on macOS
where the GUI tests run properly.
Indeed, running
Terry J. Reedy added the comment:
I remembered this morning that we need to check test_tkk_guionly or (easier,
but less obviously also all gui) test_tk either in test suite output, or run by
itself with
python -m test.test_tk # or test -ugui test_tk
because idle it has non-gui tests that
Ned Deily added the comment:
Terry, using an out-of-date version of Tcl/Tk is the least of the problems
here. My point was that, the way things are now, IDLE GUI tests are not being
run at all on macOS Azure CI runs regardless of the Tk version in use and,
AFAIK, there is no easy way to
Steve Dower added the comment:
All I can add is these are the steps:
https://github.com/python/cpython/blob/master/.azure-pipelines/macos-steps.yml
The Linux steps use xvfb, but the macOS steps do not. And we don't do anything
at all to install Tcl/Tk on the build agent.
--
Terry J. Reedy added the comment:
Tal, thanks for the fix. Ned, thanks for the quick confirmation. Closing.
Ned, I don't understand you last comment. The only CI testing on macOS is done
by Azure. My understanding is that Azure runs a virtual console on Mac as well
as linux, so it can