Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 expect test suite failure

closed-out-of-date
nobody
None
5
2010-08-28
2001-09-18
Larry W. Virden
No

When building the latest nightly cvs snapshot of expect
against the latest tcl cvs snapshot, this failure is
generated when a make test occurs:

LD_LIBRARY_PATH=.:/usr/tcl84/lib:/usr/tcl84/lib:$LD_LIBRARY_PATH
./expect -f .t
mp
can't import command "debug": already exists
while executing
"namespace import ::tcltest::*"
(file "all.tcl" line 8)
invoked from within
"source all.tcl
"
(file ".tmp" line 4)
make: *** [test] Error 1

Discussion

  • Don Porter
    Don Porter
    2001-09-18

    Logged In: YES
    user_id=80530

    This is a side effect of using tcltest 2, and
    not being careful about what commands are imported
    from the ::tcltest namespace.

    tcltest 2 is only distributed with the Tcl 8.4 alphas.
    This problem will probably not appear when working
    with Tcl 8.3. It will need fixing before Expect
    is ready to play with tcltest 2 though.

     
  • Logged In: YES
    user_id=15949

    has anyone figured out a fix for this problem yet?

     
  • Don Porter
    Don Porter
    2001-12-07

    Logged In: YES
    user_id=80530

    I have a patch. SF lets me add this comment, but
    is not providing me any interface to attach the
    patch.

    What's up with that!

     
  • Don Porter patch for expect test suite to fix cleanupTests and debug errors

     
    Attachments
  • Don Porter patch for test suite to fix cleanupTests and debug.

     
    Attachments
  • Logged In: YES
    user_id=15949

    here comes an attempt at attaching a patch for this problem
    from Don Porter

     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2010-08-28

    • status: open --> closed-out-of-date