Tk Source Code

View Ticket
Login
Ticket UUID: bd0017bf799620c5539305fe20e0bb3cf03f8489
Title: New cursor test failure
Type: Bug Version: trunk
Submitter: dgp Created on: 2016-11-08 15:44:30
Subsystem: (unused) Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2016-12-02 21:02:17
Resolution: Fixed Closed By: fvogel
    Closed on: 2016-12-02 21:02:17
Description:
Test passes on core-8-6-branch; fails on trunk:

==== cursor-4.1 FreeCursorObjProc FAILED
==== Contents of test case:

    set x [join heart]
    button .b -cursor $x
    set y [join heart]
    .b configure -cursor $y
    set z [join heart]
    .b configure -cursor $z
    set result {}
    lappend result [testcursor heart]
    set x red
    lappend result [testcursor heart]
    set z 32
    lappend result [testcursor heart]
    destroy .b
    lappend result [testcursor heart]
    set y bogus
    set result

---- Result was:
{{1 1}} {{1 1}} {{1 1}} {}
---- Result should have been (exact matching):
{{1 3}} {{1 2}} {{1 1}} {}
==== cursor-4.1 FAILED
User Comments: fvogel added on 2016-12-02 21:02:17:

Fixed (directly) in trunk: [ae13ed6583], following what was done by dgp in [76e2d9c095].


fvogel added on 2016-11-08 22:03:05:
Test no longer skipped after
  make clean ; make distclean
and running the test again.

But now the test passes. I can't reproduce.

fvogel added on 2016-11-08 21:39:06:
That's because for me :

++++ cursor-4.1 SKIPPED: testcursor

fvogel added on 2016-11-08 21:31:42:
I suppose this happens on your CentOS Linux release 7.2.1511?

make test TESTFLAGS="-file cursor.test"
is 100% oK for me.