-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-125669: Do not run -ugui
tests by default on make test
#125730
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
Conversation
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. |
8fb28f0
to
62ae2d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a NEWS entry in the Tests category.
CI master @hugovk, are you ok with this PR? |
PCbuild/rt.bat
Outdated
@@ -34,7 +34,7 @@ set pyname=python | |||
set suffix= | |||
set qmode= | |||
set dashO= | |||
set regrtestargs=--fast-ci | |||
set regrtestargs=--fast-ci -u-gui |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the different updates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI master @hugovk, are you ok with this PR?
Looks good, thanks all! 👍
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-ci
is defined and also disablesgui
tests with it. Becausemake tests
spawns 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 test
run now:With
TESTOPTS="-u gui"
(orEXTRATESTOPS
) passed:make test
behavior #125669