I'm not sure if dejagnu is installed correctly. Is there any way to call it
on the command line?
I get this:
-------------------
$ runtest --version | tee -a my_runtest.log
WARNING: Couldn't find the global config file.
Expect version is 5.21
Tcl version is 8.0
Framework version is 1.4.4
-------------------
and
-------------------
$ ls /usr/local/share/dejagnu/
baseboards framework.exp mondfe.exp standard.exp testglue.c
config ftp.exp remote.exp stub-loader.c tip.exp
debugger.exp kermit.exp rlogin.exp target.exp util-defs.exp
dejagnu.exp libexec rsh.exp targetdb.exp utils.exp
dg.exp libgloss.exp runtest.exp telnet.exp xsh.exp
-------------------
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/
============================================================
----Original Message Follows----
From: Chris Lattner <sabre at nondot.org>
Reply-To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
Subject: Re: [LLVMdev] make check fails on mingw
Date: Fri, 7 Jan 2005 13:32:56 -0600 (CST)
On Fri, 7 Jan 2005, Henrik Bach wrote:
>You're right. And no errors or results where generated:
>PATH=/C/projects/build/MinGW/llvm-2-1/Debug/bin:/C/projects/src/llvm-2/llvm/test/Scripts:.:/usr/local/bin:/mingw/bin:/bin:/mingw/bin:/usr/bin:/c/LLVM/tools:/c/perl/5.8.5/bin:/c/perl/5.8.5/bin/MSWin32-x86-multi-thread
>\
>true runtest
>make[1]: Leaving directory `/C/projects/build/MinGW/llvm-2-1/test'
>Shouldn't a bunch of tests appear?
The "true runtest" line indicates that configure was not able to find
dejagnu.
-Chris
>----Original Message Follows----
>From: Chris Lattner <sabre at nondot.org>
>Reply-To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
>To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
>Subject: Re: [LLVMdev] make check fails on mingw
>Date: Fri, 7 Jan 2005 13:17:09 -0600 (CST)
>
>On Fri, 7 Jan 2005, Henrik Bach wrote:
>
>>"PATH=/C/projects/build/MinGW/llvm-2-1/Debug/bin:.:/usr/local/bin:/mingw/bin:/bin:/mingw/bin:/usr/bin:/c/LLVM/tools:/c/perl/5.8.5/bin:/c/perl/5.8.5/bin/MSWin32-x86-multi-thread
>>llvm-gcc"
>>set llvmgxx
>>"PATH=/C/projects/build/MinGW/llvm-2-1/Debug/bin:.:/usr/local/bin:/mingw/bin:/bin:/mingw/bin:/usr/bin:/c/LLVM/tools:/c/perl/5.8.5/bin:/c/perl/5.8.5/bin/MSWin32-x86-multi-thread
>>llvm-gcc"
>>## All variables above are generated by configure. Do Not Edit ##
>>------------------
>>
>>llvm-gcc is still present in the path var's which I don't
understand.
>
>These aren't setting path variables. These are commands. With bourne
>shell, it's legal to say:
>
>ENVVAR=foo ./command
>
>instead of:
>export ENVVAR=foo
>./command
>
>That's all it is doing.
>
>-Chris
>
>>----Original Message Follows----
>>From: Chris Lattner <sabre at nondot.org>
>>Reply-To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
>>To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
>>Subject: Re: [LLVMdev] make check fails on mingw
>>Date: Fri, 7 Jan 2005 12:32:55 -0600 (CST)
>>
>>On Fri, 7 Jan 2005, Henrik Bach wrote:
>>>I'm trying to test the llvm tools as described in
>>>'http://llvm.cs.uiuc.edu/docs/TestingGuide.html'.
>>
>>The problem here is that your PATH envvar has spaces in it. There are
>>many thing in LLVM that won't work with that, please try pruning
your PATH
>>and trying again.
>>
>>Thanks,
>>
>>-Chris
>>
>>>However, when running the command: 'make check VERBOSE=1
2>&1' I get this
>>>error:
>>>-------------------
>>>if test -d "/C/projects/build/MinGW/llvm-2-1/test" ; then
\
>>>if test -f
"/C/projects/build/MinGW/llvm-2-1/test/Makefile" ; then \
>>> echo llvm[0]: Running test suite ; \
>>> make -C /C/projects/build/MinGW/llvm-2-1/test check-local \
>>> TESTSUITE= ; \
>>>else \
>>> echo llvm[0]: No Makefile in test directory ; \
>>>fi ; \
>>>else \
>>>echo llvm[0]: No test directory ; \
>>>fi
>>>llvm[0]: Running test suite
>>>make[1]: Entering directory
`/C/projects/build/MinGW/llvm-2-1/test'
>>>PATH=/C/projects/build/MinGW/llvm-2-1/Debug/bin:/C/projects/src/llvm-2/llvm/test/Scripts:.:/usr/local/bin:/mingw/bin:/bin:/mingw/bin:/usr/bin:/c/LLVM/tools:/c/perl/5.8.5/bin:/c/perl/5.8.5/bin/MSWin32-x86-multi-thread:/c/projects/src/CMHTREE/PLT/DOS.PLT:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/Program
>>>Files/cvsnt:/c/Program Files/7-Zip \
>>>true runtest
>>>/bin/sh.exe: Files/cvsnt:/c/Program: No such file or directory
>>>make[1]: *** [check-local] Error 127
>>>make[1]: Leaving directory
`/C/projects/build/MinGW/llvm-2-1/test'
>>>make: *** [check] Error 2
>>>-------------------
>>>
>>>Obviously, the shell tries to locate 'runtest'. runtest is
located in:
>>>-------------------
>>>$ which runtest
>>>/usr/local/bin/runtest
>>>-------------------
>>>which is the path and
>>>-------------------
>>>$ runtest --version | tee -a my_runtest.log
>>>WARNING: Couldn't find the global config file.
>>>Expect version is 5.21
>>>Tcl version is 8.0
>>>Framework version is 1.4.4
>>>-------------------
>>>
>>>Looking at the 'objdir/test/site.exp' generated file we
find:
>>>-------------------
>>>## these variables are automatically generated by make ##
>>># Do not edit here. If you wish to override these values
>>># edit the last section
>>>set target_triplet i686-pc-mingw32
>>>set prcontext "
/C/projects/src/llvm-2/llvm/test/Scripts/prcontext.tcl"
>>>set srcdir /C/projects/src/llvm-2/llvm/test
>>>set objdir /C/projects/build/MinGW/llvm-2-1/test
>>>set llvmgcc
>>>"PATH=/C/projects/build/MinGW/llvm-2-1/Debug/bin:.:/usr/local/bin:/mingw/bin:/bin:/mingw/bin:/usr/bin:/c/LLVM/tools:/c/perl/5.8.5/bin:/c/perl/5.8.5/bin/MSWin32-x86-multi-thread:/c/projects/src/CMHTREE/PLT/DOS.PLT:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/Program
>>>Files/cvsnt:/c/Program Files/7-Zip llvm-gcc"
>>>set llvmgxx
>>>"PATH=/C/projects/build/MinGW/llvm-2-1/Debug/bin:.:/usr/local/bin:/mingw/bin:/bin:/mingw/bin:/usr/bin:/c/LLVM/tools:/c/perl/5.8.5/bin:/c/perl/5.8.5/bin/MSWin32-x86-multi-thread:/c/projects/src/CMHTREE/PLT/DOS.PLT:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/Program
>>>Files/cvsnt:/c/Program Files/7-Zip llvm-gcc"
>>>## All variables above are generated by configure. Do Not Edit ##
>>>-------------------
>>>
>>>If we look close at the path variables in the site.exp, we have that
the
>>>last folder '/c/Program Files/7-Zip llvm-gcc' isn't
correct. llvm-gcc
>>>shouldn't be in there, because I haven't such folder.
>>>
>>>Any suggestions?
>>>
>>>============================================================>>>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/
>>>============================================================>>>
>>>_________________________________________________________________
>>>F� alle de nye og sjove ikoner med MSN Messenger
http://messenger.msn.dk/
>>>
>>>_______________________________________________
>>>LLVM Developers mailing list
>>>LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>>>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>
>>
>>-Chris
>>
>>--
>>http://nondot.org/sabre/
>>http://llvm.cs.uiuc.edu/
>>_______________________________________________
>>LLVM Developers mailing list
>>LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>_________________________________________________________________
>>Log p� MSN Messenger direkte fra nettet http://webmessenger.msn.com/
>>
>>_______________________________________________
>>LLVM Developers mailing list
>>LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
>-Chris
>
>--
>http://nondot.org/sabre/
>http://llvm.cs.uiuc.edu/
>_______________________________________________
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>_________________________________________________________________
>Del din verden med MSN Spaces http://spaces.msn.com
>
>_______________________________________________
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-Chris
--
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
_________________________________________________________________
Find det, du s�ger p� MSN S�g http://search.msn.dk