[LLVMdev] make check fails on mingw

Chris Lattner sabre at nondot.org
Sun Jan 9 10:16:55 PST 2005


On Sun, 9 Jan 2005, Henrik Bach wrote:

> I found that it was runtest.exp which referenced to the internal exp_debug 
> function. For testing purposes I disabled the reference and ran a new:

Hi Henrik,

Unfortunately, none of us has access to a MinGW setup, so we cannot debug 
this problem.  If you're hacking on dejagnu or expect itself (because it 
has not yet been ported to MinGW correctly or lacks features that we need 
on that host) you are outside of our area of our area of expertise.  I 
suggest trying to dejagnu mailing list to see if anyone has run into this 
problem before.

Thanks,

-Chris

> make check VERBOSE=1
>
> which gave me this:
> ------------------
> 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:/mingw/lib/expect-5.21 
> \
> /usr/local/bin/runtest
> WARNING: Couldn't find the global config file. WARNING: No tool specified 
> Test Run By llvm on Sun Jan  9 00:50:59 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 ===
>
> make[1]: Leaving directory `/C/projects/build/MinGW/llvm-2-1/test'
> ------------------
>
> Obviously no tests has been run. Is my test system still buggy?
>
> Henrik.
>
>
> ----Original Message Follows----
> From: Tanya Lattner <tonic 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 14:55:04 -0600 (CST)
>
>
>> Well, doing a runtest in the test folder gave me these results:
>> -----------------
>> WARNING: Couldn't find the global config file. WARNING: No tool specified 
>> Test Run By llvm on Fri Jan  7 20:55:24 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 to "exp_tcl_continue": command 
>> already exists     while executing "rename continue exp_tcl_continue"
>> 		===  Summary ===
>> 
>
> You are running a pretty old version of expect (5.21 was released in 1996). I 
> would upgrade it to start. I'm not sure if that will fix your problem though 
> as I am not an expect expert :)
>
> Did you follow the instructions to test if Dejagnu was installed correctly?
> http://www.gnu.org/software/dejagnu/manual/x199.html
>
> If you are still having problems after getting the latest expect and 
> following the instructions from the dejagnu manual, then I would post to 
> their mailing list.
>
>> What is the global config file?
>
> The warning about a global config file is normal and you should ignore it.
>
> -Tanya
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _________________________________________________________________
> 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/


More information about the llvm-dev mailing list