Tcl Library Source Code

View Ticket
Login
Ticket UUID: 1779348
Title: profiler test suite peculiar behavior
Type: Bug Version: None
Submitter: lvirden Created on: 2007-08-22 11:40:48
Subsystem: profiler Assigned To: nobody
Priority: 5 Medium Severity:
Status: Open Last Modified: 2007-08-23 01:18:46
Resolution: None Closed By:
    Closed on:
Description:
I downloaded from activestate's ftp site today the latest tcl, tk, tcllib cvs head snapshot tars. On a sparc solaris 9 system, using sun's c compiler, I built the pieces and installed them. All this is being done within Sun's standard xterm window, running under GNOME, displaying back to Exceed X server running on Windows XP sp2.

I then ran a make test for tcllib. Things went well until:
[    ]  [8.5a7] pop3d       ~~       T   152 P   152 S     0 F     0
[  * ]  [8.5a7] profiler    ---- profiler::leaveHandler::initialize_descendent_ti[  * ]  [8.5a7] profiler    PASS profiler::leaveHandler::initialize_descendent_ti[  * ]  [8.5a7] profiler    ---- profiler::leaveHandler::increment_descendent_tim[   *]  [8.5a7] profiler    PASS profiler::leaveHandler::increment_descendent_tim[   *]  [8.5a7] profiler    ---- profiler-4.1                                    [   *]  [8.5a7] profiler    PASS profiler-4.1                                    [   *]  [8.5a7] profiler    ---- profiler-5.1                                    [   *]  [8.5a7] profiler    PASS profiler-5.1                                    [  * ]  [8.5a7] profiler    ---- profiler-6.1                                    [  * ]  [8.5a7] profiler    PASS profiler-6.1                                    [  * ]  [8.5a7] profiler    ---- profiler-7.1                                    [  * ]  [8.5a7] profiler    PASS profiler-7.1                                    [  * ]  [8.5a7] profiler    SKIP profiler-7.2                                    [ *  ]  [8.5a7] profiler    ---- profiler-7.2-85                                 [ *  ]  [8.5a7] profiler    PASS profiler-7.2-85                                 [ *  ]  [8.5a7] profiler    ---- profiler-7.3                                    [ *  ]  [8.5a7] profiler    PASS profiler-7.3                                    [ *  ]  [8.5a7] profiler    ---- profiler-7.4                                    [*   ]  [8.5a7] profiler    PASS profiler-7.4                                    [*   ]  [8.5a7] profiler    ---- profiler-7.5                                    [*   ]  [8.5a7] profiler    PASS profiler-7.5                                    [*   ]  [8.5a7] profiler    ---- profiler-8.1                                    [*   ]  [8.5a7] profiler    PASS profiler-8.1                                    [ *  ]  [8.5a7] profiler    ---- profiler-8.2                                    [ *  ]  [8.5a7] profiler    PASS profiler-8.2                                    [ *  ]  [8.5a7] profiler    ---- profiler-9.1                                    [ *  ]  [8.5a7] profiler    PASS profiler-9.1                                    [    ]  [8.5a7] profiler    ~~       T    21 P    15 S     6 F     0               

Notice that for some reason, profiler outputs each of its steps, instead of writing them on top of each other like the previous tests all did.

This is a make test performed "interactively" with output going to stdout/stderr.

I've seen this kind of thing happen with the test suite at other times. I understand that others may not be able to duplicate the problem. I am reporting it because there appears to be something weird going on in the test suite software itself, or perhaps in this particular test.
User Comments: andreas_kupries added on 2007-08-23 01:18:46:
Logged In: YES 
user_id=75003
Originator: NO

Something in just this test ... I am not sure about that. The test framework in sak uses Ctrl-M, aka CR, aka \r, aka 0x0D to move the cursor to the beginning of the current line without advancing a line, before printing the next line. To me it looks a bit like the terminal or other is gobbling this character, or transforming into linefeed (LF, \n).

Well, I am running now on a solaris box too, will see if I can see the same problem. Setup is similar, xterm, Exceed server on WinXP. No gnome tough.