I've probably run into something that isn't a dejagnu error but I'm stumped and I'm hoping there's a kind soul out there who can help.
For some reason I don't understand clock format [clock seconds] causes this message to appear ERROR: (DejaGnu) proc "::tcl::tm::UnknownHandler {::tcl::MacOSXPkgUnknown ::tclPkgUnknown} msgcat 1.4" does not exist. and execution of my script to stop, with only === Summary === before returning to my shell prompt. Some info about my system: - dejagnu built from source (commit 3589f41bba1f8df1f2f3e2a6fba7bc2674fb5778) though this also happens with 1.4.4 $ runtest --version WARNING: Couldn't find the global config file. Expect version is 5.44.1.11 Tcl version is 8.5 Framework version is 1.4.99 $ uname -a Darwin David-Byrons-Mac-mini.local 10.4.1 Darwin Kernel Version 10.4.1: Wed May 12 21:36:54 PDT 2010; root:xnu-1504.7.50~2/RELEASE_I386 i386 $ which expect /usr/bin/expect $ expect -v expect version 5.44.1.11 $ which tclsh /usr/bin/tclsh $ tclsh % info tclversion 8.5 % exit And now for the clincher: $ expect expect1.1> clock format [clock seconds] Fri Sep 24 10:13:47 PDT 2010 expect1.2> exit and if it's helpful: $ tclsh % package versions msgcat % package names tcl::tommath Tcl % package require msgcat 1.4.2 % package versions msgcat 1.4.2 % package names http platform tcl::tommath tcltest msgcat Tcl % exit But when I execute runtest in a directory with these files: $ find . . ./config ./config/default.exp This is what I get: $ runtest WARNING: Couldn't find the global config file. WARNING: No tool specified Test Run By dbyron on Fri Sep 24 10:14:57 2010 Native configuration is i386-apple-darwin10.4.1 === tests === Schedule of variations: unix Running target unix Using /Users/dbyron/usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /Users/dbyron/usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ./config/default.exp as tool-and-target-specific interface file. clock seconds is 1285348706 ERROR: (DejaGnu) proc "::tcl::tm::UnknownHandler {::tcl::MacOSXPkgUnknown ::tclPkgUnknown} msgcat 1.4" does not exist. === Summary === On other platforms, this works fine: $ runtest WARNING: No tool specified Test Run By dbyron on Fri Sep 24 10:18:01 2010 Native configuration is i686-pc-cygwin === tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ./config/default.exp as tool-and-target-specific interface file. clock seconds is 1285348681 Fri Sep 24 10:18:01 AM PDT 2010 after clock format === Summary === One of those platforms is: $ runtest --version Expect version is 5.26 Tcl version is 8.4 Framework version is 1.4.2.x $ uname -a CYGWIN_NT-5.1 please_t 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin) Another one is: $ runtest WARNING: No tool specified Test Run By dbyron on Fri Sep 24 10:21:58 2010 Native configuration is x86_64-unknown-linux-gnu === tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ./config/default.exp as tool-and-target-specific interface file. clock seconds is 1285348919 Fri Sep 24 10:21:59 AM PDT 2010 after clock format === Summary === $ runtest --version Expect version is 5.43.0 Tcl version is 8.4 Framework version is 1.4.99 $ uname -a Linux UbuntuVM 2.6.28-19-generic #64-Ubuntu SMP Wed Aug 18 21:59:08 UTC 2010 x86_64 GNU/Linux I'm sure I've got something misconfigured somewhere but I can't figure out what it is. Can anyone lend a hand here? I've been using dejagnu for years without a hitch but this one's got me stumped. Thanks much. -DB
default.exp
Description: Binary data
_______________________________________________ DejaGnu mailing list DejaGnu@gnu.org http://lists.gnu.org/mailman/listinfo/dejagnu