[LLVMdev] make check fails on mingw

Henrik Bach
Sun, 09 Jan 2005 00:10:27 -0000

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:

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/