Tk Source Code

View Ticket
Login
Ticket UUID: 220926
Title: tk v8.4a1 (and v8.3.1) fails test color-2.6 under both CDE and OW
Type: Bug Version: obsolete: 8.4a1
Submitter: welch Created on: 2000-11-01 01:33:12
Subsystem: 30. Color Names Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-03-24 06:35:27
Resolution: Fixed Closed By: dgp
    Closed on: 2001-03-23 23:35:27
Description:
OriginalBugID: 5873 Bug
Version: 8.4a1
SubmitDate: '2000-06-12'
LastModified: 
Severity: MED
Status: UnAssn
Submitter: techsupp
OS: Solaris
OSVersion: Solaris 7 (with 11/99 patches)
Machine: Sun Ultra5


Name:
David R. Linn

Extensions:
whatever is in the Tcl/Tk v8.4a1 bundle

CustomShell:
no changes

Comments:
Test color=2.6 was added between Tk v8.3.0 and Tk v8.3.1 and Tk v8.3.1
    fails in the same
    way as Tk v8.4a1.

ReproducibleScript:
cd tk*/unix
setenv TBD ../../tcl*/unix
make TCL_BIN_DIR=$TBD test

ObservedBehavior:
output from the above command includes

...
clrpick.test
cmds.test
color.test

==== color-2.6 Tk_GetColor procedure FAILED
==== Contents of test case:

    winfo rgb .t red

---- Result was:
64000 4864 16384
---- Result should have been:
65535 0 0
==== color-2.6 FAILED

config.test
cursor.test
...
Tests ended at Sat Jun 10 11:10:19 CDT 2000
all.tcl:Total7025Passed6599Skipped425Failed1
Sourced 86 Test Files.
Files with failing tests: color.test
Number of tests skipped for each constraint:
2altDisplay
3colorsLeftover
2emptyTest
44macOnly
15macOrPc
132nonPortable
226pcOnly
1userInteraction

DesiredBehavior:
...
Tests ended at Sat Jun 10 11:10:19 CDT 2000
all.tcl:Total7025Passed6600Skipped425Failed0

i.e. Tk should pass all of its bundled tests or there should be a note telling the installer that
this test will fail and that it's okay to put a release into production with a failed test.
User Comments: hobbs added on 2000-11-17 08:35:10:
The added test wasn't correctly cross-platform and is now marked nonPortable for 8.4a2.