Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-05-26
10:49 • Ticket [930677ffff] tests skipped testwordend status still Closed with 7 oth... artifact: b3fe46b626 user: dgp
10:49 • Closed ticket [930677ffff]. artifact: 886e85101e user: dgp
05:24 • Ticket [930677ffff]: 5 changes artifact: 3fa19ba1e8 user: msofer
2004-05-05
02:32 • Open ticket [930677ffff]. artifact: 737b099f91 user: tauvan
2004-05-04
17:56 • Pending ticket [930677ffff]. artifact: 76223e7042 user: msofer
2004-04-06
20:40 • New ticket [930677ffff]. artifact: c9317d82ae user: tauvan

tests skipped testwordend

Closed / Wont Fix930677ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-04-06 20:40:53
machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5

running tcltest
final info about skips
from parseOld.test

It looks like I can not do anything to fix
since the header states "predates the new parser in Tcl 8.1"

can I suggest:
 remove tcltest::testConstraint from top of file,
 and just before test parseOld-14.1 insert

if {[string equal "testwordend" [info commands testwordend]]} {
...
...
}

test parseOld-15.1

also removing {testwordend} from all parseOld-14.*

This will still leave the test for "old" but omit if it doesn't
concern new or "things to do"
msoferplain2004-05-04 17:56:52
Logged In: YES 
user_id=148712

I do not understand what is the bug. Can you please describe
precisely what is happening? Is "final info about skips" a
message from the system, or your description?
tauvanplain2004-05-05 02:32:06
Logged In: YES 
user_id=1011552

  Sorry, as this was when I over-zealously made my first
attempts at reporting bugs, this is probably more a wish list.
  In running all.tcl, the final output informs one of the total ran,
total passed, total skipped, and total failed. It also lists the skips
by test constraint. "testwordend" was one of them. I checked into
the reason behind the skip to see if something was wrong with
my build on this system, or some other personal neglect.
  What I found was it looks like an intended skip, and was
wondering if it could be removed from the final test results on
systems that don't have "testwordend". This way maybe others
won't look for errors they might have accidently created because
of this constraint. However, if testwordend is a command that needs
to be added to the newer Tcls, then the suggestion is a silly one
and testwordend needs creation.
  Again, apollogies for my ignorance.
msoferplain2004-05-26 05:24:45
Logged In: YES 
user_id=148712

I see no testwordend anywhere except the test suite, so that
probably means that those tests are not needed for modern
tcl. They are only used in the file parseOld.test, in tests
parseOld-14.1-21.

Don: I think the proposal makes sense, but I may be
overseeing something? Should we remove the tests altogether,
if they do not apply?
dgp Closed ticket [930677ffff]. [History diff]2004-05-26 10:49:20
dgpplain2004-05-26 10:49:21
Logged In: YES 
user_id=80530


Tcl 8.0 had an internal routine
called TclWordEnd().  The
Tcltest static package defined
a [testwordend] command to
test that routine, and tests
parseOld-14.* are the whitebox
tests making sure that routine
worked correctly.

That routine no longer exists;
neither does the command
[testwordend], and the constraint
on the tests is correctly disabling
them.

Things seems to be working
correctly to me.
Log in (anonymous is fine) to add a comment.