Tk Source Code

View Ticket
Login
Ticket UUID: 1751560
Title: make test failures
Type: Bug Version: obsolete: 8.4.15, 8.6.18, 9.0.5, 9.1b1
Submitter: cjsmall Created on: 2007-07-10 23:45:58
Subsystem: 86. Test Tools Assigned To: aku
Priority: 8 Severity: Minor
Status: Closed Last Modified: 2026-11-13 18:06:36
Resolution: Fixed Closed By: nemethi
    Closed on: 2026-11-13 18:06:36
Description:
On a Sun Solaris 9 system running under CDE or Gnome 2.0, when "make test" is run it hangs indefinitely on the window.test, requiring that it be killed manually.  This problem has been confirmed by other users including Larry Virden.

I also see two other failures:

One is the font test which displays a message that this is expected to fail on some UNIX systems.  It would be nice if there were a check for the offending font on the system so that this test could be skipped if it were not applicable.

The unixWm.test also fails as follows:
--------------------------------------------------
unixWm.test

==== unixWm-4.3 moving window while withdrawn FAILED ==== Contents of test case:

        wm withdraw .t
        sleep 200
        wm geom .t $geom
        update
        wm deiconify .t
        wm geom .t

---- Result was:
100x150+0+26
---- Result should have been (exact matching):
100x150+0+0
==== unixWm-4.3 FAILED 
--------------------------------------------------

This is almost certainly due to the fact that I have a Gnome toolbar running across the top of my screen which causes the offending 26 pixel offset.  This test should be modified to check for this condition and adjust accordingly.

My philosophy is that a test suite needs to run 100% clean and report no errors on all target systems if it is to be truly useful.  I hope this report helps in meeting that target.

Regards,
-- 
Jeffery Small
User Comments: nemethi (claiming to be Csaba Nemethi) added on 2026-11-13 18:06:36:

Closing the ticket with resolution "Fixed", just like [d1a711b500].


serhiy.storchaka added on 2026-09-30 13:51:37:

Tested with 9.1b1 on Linux/X11:

  • window.test does not hang with no window manager, fvwm, icewm, openbox, xfwm4, metacity and KWin.
  • font.test no longer has the message about expected failures.
  • unixWm-4.3 still fails with a panel at the top of the screen, e.g. under KWin and xfwm4, because wm geometry reports the requested position instead of the position the window manager moved the window to; see [d1a711b500].

Proposed fix in branch x11-wm-position-work-area, which also makes the unixWm tests use the top-most position which a window can actually get instead of 0.