Linux users: please run gui tests

Cecil Westerhof Cecil at decebal.nl
Fri Aug 7 09:53:14 CEST 2015


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


More information about the Python-list mailing list