You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To varying degrees, this affects the 3.12, 3.13, and main branches. Other branches are also probably affected but I haven't tested them. They aren't showstoppers, but they are annoying.
make test breaks the terminal. All input is hidden until you run the reset command.
Tcl/Tk tests hijack keyboard input. This is doesn't seem to affect 3.12, moderately affects 3.13, and really breaks on main. Essentially the tests pop up tons of windows, lots of stuff happens in those windows, and while that test is running, the desktop is largely unusable. You can get some mouse events through, but no keyboard events. It's especially bad with main - you basically can't get anything done until the tests complete.
I'm definitely in favor of changing this. I use make test locally, and it's become increasingly frustrating to try to do anything while tests are running. If people really need to test GUI stuff locally like this, maybe we can provide them with an additional make target.
To turn off all GUI tests, you can disable the gui resource: EXTRATESTOPTS="-uall,-gui" make test, though maybe it should be the default for make test?
Reacted by Nice Zombies, Michael Droettboom, Barry Warsaw, sobolevn and Mikhail Efimov
Now we have make ci for CIs that will run GUI tests and make test won't by default.
Use make test TESTOPTS="-ugui" if you still want to run GUI tests and use make test.
Activity
brandtbucher commentedon Oct 18, 2024
I'm definitely in favor of changing this. I use
make testlocally, and it's become increasingly frustrating to try to do anything while tests are running. If people really need to test GUI stuff locally like this, maybe we can provide them with an additional make target.tomasr8 commentedon Oct 18, 2024
To turn off all GUI tests, you can disable the
guiresource:EXTRATESTOPTS="-uall,-gui" make test, though maybe it should be the default formake test?pythongh-125669: Do not run `-ugui` tests by default on `make test`
pythongh-125669: Do not run `-ugui` tests by default on `make test`
sobolevn commentedon Oct 19, 2024
I proposed changing the
--fast-cidefinition to not spawn these windows: #125730gh-125669: Do not run `-ugui` tests by default on `make test` (#125730)
sobolevn commentedon Oct 30, 2024
Now we have
make cifor CIs that will run GUI tests andmake testwon't by default.Use
make test TESTOPTS="-ugui"if you still want to run GUI tests and usemake test.pythongh-125669: Do not run `-ugui` tests by default on `make test` (p…
pythongh-125669: Do not run `-ugui` tests by default on `make test` (p…