[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DejaGnu fails on mingw
From: |
Henrik Bach |
Subject: |
DejaGnu fails on mingw |
Date: |
Mon, 10 Jan 2005 22:46:11 +0100 |
Hi DejaGnu users and developers,
I've installed ExpectNT 5.21 (snapshot 29) and configured, build and
installed DejaGnu 1.4.4 in a MinGW version 1.0 environment:
--------------
$ runtest --version
WARNING: Couldn't find the global config file.
Expect version is 5.21
Tcl version is 8.0
Framework version is 1.4.4
--------------
Normally, when running the unix versions of expect and dejagnu in our test
folder we get:
--------------
Test Run By brukman on Fri Jan 7 03:19:15 2005
Native configuration is i686-pc-linux-gnu
=== tests ===
Schedule of variations:
unix
Running target unix
Using /home/vadve/shared/localtools/fc1/share/dejagnu/baseboards/unix.exp as
board description file for target.
Using /home/vadve/shared/localtools/fc1/share/dejagnu/config/unix.exp as
generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
Running /home/vadve/brukman/tmp/buildtest-X86/llvm/test/Feature/dg.exp ...
PASS: /home/vadve/brukman/tmp/buildtest-X86/llvm/test/Feature/basictest.ll
PASS: /home/vadve/brukman/tmp/buildtest-X86/llvm/test/Feature/calltest.ll
PASS: /home/vadve/brukman/tmp/buildtest-X86/llvm/test/Feature/casttest.ll
...
PASS:
/home/vadve/brukman/tmp/buildtest-X86/llvm/test/Regression/Verifier/SelfReferential.ll
testcase
/home/vadve/brukman/tmp/buildtest-X86/llvm/test/Regression/Verifier/dg.exp
completed in 0 seconds
=== Summary ===
# of expected passes954
# of unexpected failures3
# of expected failures31
runtest completed at Fri Jan 7 03:19:51 2005
--------------
However, when running the mingw/dejagnu and expectNT we get:
--------------
$ runtest
WARNING: Couldn't find the global config file.
WARNING: No tool specified
Test Run By llvm-gcc on Mon Jan 10 22:28:30 2005
Native configuration is i686-pc-mingw32
=== tests ===
ERROR: (DejaGnu) proc "exp_debug" does not exist.
The error code is NONE
The info on the error is:
can't rename "system": command doesn't exist
while executing
"rename system exp_tcl_system"
=== Summary ===
--------------
When disabling the reference to exp_debug in runtest.exp, due to that the
internal command isn't implemented in the expectNT version:
--------------
...
#if ![exp_debug] {
# foreach sig "{SIGTERM {terminated}} \
# {SIGINT {interrupted by user}} \
# {SIGQUIT {interrupted by user}} \
# {SIGSEGV {segmentation violation}}" {
# set signal [lindex $sig 0]
# set str [lindex $sig 1]
# trap "send_error \"got a \[trap -name\] signal, $str \\n\"; log_and_exit;"
$signal
# verbose "setting trap for $signal to $str" 1
# }
# unset signal str sig
#}
...
--------------
we get:
--------------
$ runtest
WARNING: Couldn't find the global config file.
WARNING: No tool specified
Test Run By llvm-gcc on Mon Jan 10 22:40:13 2005
Native configuration is i686-pc-mingw32
=== tests ===
Schedule of variations:
unix
Running target unix
Using C:/MinGW/msys/local/share/dejagnu/baseboards/unix.exp as board
description file for target.
Using C:/MinGW/msys/local/share/dejagnu/config/unix.exp as generic interface
file for target.
WARNING: Couldn't find tool config file for unix, using default.
=== Summary ===
--------------
Obviosly the tests isn't ran.
Any suggestions?
Henrik.
=============================================================
Henrik Bach
LLVM Open Source Developer
e-mail: henrik_bach_llvm at hotmail.com
=============================================================
'Nothing is impossible; The impossible just takes longer time :)'
- Inventor of a new energy saver light bulp from Denmark.
No software patents - Thank you Poland:
http://www.nosoftwarepatents.com/en/m/intro/app0411.html
Got Freedom?
Software Freedom Day - 28th of August
http://www.softwarefreedomday.org/
=============================================================
_________________________________________________________________
Find det, du søger på MSN Søg http://search.msn.dk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- DejaGnu fails on mingw,
Henrik Bach <=