gh-125669: Do not run -ugui tests by default on make test#125730
gh-125669: Do not run -ugui tests by default on make test#125730sobolevn merged 7 commits intopython:mainfrom
-ugui tests by default on make test#125730Conversation
Unix buildbots run
Why not only changing the |
|
Something like: diff --git a/Makefile.pre.in b/Makefile.pre.in
index fb6f22d5739..20621257575 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2097,7 +2097,7 @@ cleantest: all
# Similar to buildbottest, but use --fast-ci option, instead of --slow-ci.
.PHONY: test
test: all
- $(TESTRUNNER) --fast-ci --timeout=$(TESTTIMEOUT) $(TESTOPTS)
+ $(TESTRUNNER) --fast-ci -u-gui --timeout=$(TESTTIMEOUT) $(TESTOPTS)
# Run the test suite for both architectures in a Universal build on OSX.
# Must be run on an Intel box. |
|
See also the doc: https://docs.python.org/dev/using/configure.html#make-test |
8fb28f0 to
62ae2d4
Compare
vstinner
left a comment
There was a problem hiding this comment.
Please add a NEWS entry in the Tests category.
|
CI master @hugovk, are you ok with this PR? |
PCbuild/rt.bat
Outdated
| set qmode= | ||
| set dashO= | ||
| set regrtestargs=--fast-ci | ||
| set regrtestargs=--fast-ci -u-gui |
There was a problem hiding this comment.
Buildbots run Tools/buildbot/test.bat which runs PCbuild/rt.bat. I'm not sure that this change is correct. Maybe it will disable GUI tests on buildbots.
There was a problem hiding this comment.
Yes, thanks for this question. I was not also sure about that. Since I don't ever use windows and not quite sure about how it should work. I will revert this.
vstinner
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the different updates.
|
Thanks everyone! 👏 |
|
Thanks for fixing this! One ask:
Please reconsider. It's painful for the 3.13 branch and changing it would be a net win. |
…ython#125730) Adds `make ci` target for use in CI and keeping `make test` for the local development.
…ython#125730) Adds `make ci` target for use in CI and keeping `make test` for the local development.
Basically this PR changes how
--fast-ciis defined and also disablesguitests with it. Becausemake testsspawns a lot of gui windows locally and distrurb the development workflow.Most likely this won't affect any buildbots (if they correctly use
--slow-ci). But, correct me if I am wrong.Regular
make testrun now:With
TESTOPTS="-u gui"(orEXTRATESTOPS) passed:make testbehavior #125669