Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.python Subject: Re: Linux users: please run gui tests Date: Fri, 07 Aug 2015 09:53:14 +0200 Organization: Decebal Computing Lines: 43 Message-ID: <87wpx7fsb9.fsf@Equus.decebal.nl> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="1746"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189Qg9ZexlaguzqVtxAU8r0k5au1XjoMns=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Homepage: http://www.decebal.nl/ Cancel-Lock: sha1:uGt5cCQom6UWwC8AHEd9RQIacQo= sha1:iB1fL14kYe4gMcbxQydgZZjKnvU= Xref: csiph.com comp.lang.python:95109 On Friday 7 Aug 2015 04:07 CEST, Terry Reedy wrote: > Python has an extensive test suite run after each 'batch' of commits > on a variety of buildbots. However, the Linux buildbots all (AFAIK) > run headless', with gui's disabled. Hence the following test_tk > test_ttk_guionly test_idle (and on 3.5, test_tix, but not important) > are skipped either in whole or in part. > > We are planning on adding the use of tkinter.ttk to Idle after the > 3.5.0 release, but a couple of other core developers have expressed > concern about the reliability of tkinter.ttk on Linux. > > There is also an unresolved issue where test_ttk hung on Ubuntu > Unity 3 years ago. https://bugs.python.org/issue14799 > > I would appreciate it if some people could run the linux version of > py -3.4 -m test -ugui test_tk test_ttk_guionly test_idle > (or 3.5). I guess this means 'python3 for the executable. > > and report here python version, linux system, and result. > Alteration of environment and locale is a known issue, skip that. I made a Bash script: python3 --version python3 -m test -ugui test_tk test_ttk_guionly test_idle This gives: Python 3.4.1 [1/3] test_tk [2/3] test_ttk_guionly [3/3] test_idle All 3 tests OK. This was on openSUSE 13.2. I also tried to run it on Debian, but there I get: No moduke named test.__main__; 'test' is a package and cannot be directly executed -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof