how to solve following question

Dear yueqiang,

  I tracked this down this morning, and it is a bug with our Python code that runs the tests. Essentially what is happening is that the code is finding the temporary directory it created the first time it ran the tests and believes that there are tests inside of it which it needs to run. It then gets confused and quits.

  This bug only shows up when the source tree and the object tree are the same. If they are different directories, then this error does not occur.

  To work around this, simply remove the llvm/test/tmp directory and re-run the tests.

  I'll file a bug report and work on a fix.

  Thanks for finding this.

yue wrote:

when I run 'make ./test qmtest' it displays:
QMTEST_CLASS_PATH=/home/yue/llvm/test/QMTest qmtest -D /home/yue/llvm/test run -O /home/yue/llvm/test/QMTest/expectations.qmr -c "srcroot=/home/yue/llvm" -c "buildroot=/home/yue/llvm" -c "buildtype=Debug" -c "tmpdir=/home/yue/llvm/test/tmp" -c "coresize=0" -c "cc=gcc" -c "cxx=g++" -c "llvmgcc=PATH=/home/yue/llvm/tools/Debug:/home/yue/llvm/tools/Debug:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/yue/bin /home/yue/cfrontend/x86/llvm-gcc//bin/gcc" -c "llvmgxx=PATH=/home/yue/llvm/tools/Debug:/home/yue/llvm/tools/Debug:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/yue/bin /home/yue/cfrontend/x86/llvm-gcc//bin/g++" -c "make=make"
Traceback (most recent call last):
  File "/usr/local/lib/qm/qm/test/", line 78, in ?
    exit_code = command.Execute()
  File "/lib/qm/qm/test/", line 569, in Execute
  File "/lib/qm/qm/test/", line 1173, in __ExecuteRun
  File "/lib/qm/qm/test/", line 1043, in ExpandIds
  File "/lib/qm/qm/test/", line 123, in GetAllTestAndSuiteIds
  File "/home/yue/llvm/test/QMTest/", line 228, in GetSuite
    (dirs, files) = self.GetDirsAndFiles (suitepath)
  File "/home/yue/llvm/test/QMTest/", line 160, in GetDirsAndFiles
    tests=os.listdir (dirpath)
OSError: [Errno 2] No such file or directory: '/home/yue/llvm/test/tmp/tr2003-06-29-IncompleteTDPass/ll'
make: [qmtest] Error 1 (ignored)
make: Leaving directory `/home/yue/llvm/test'
[yue@RH9 llvm]$

my llvm configure is:
[yue@RH9 llvm]$ cat ../setenv
#! /bin/sh

PATH=/home/yue/llvm/tools/Debug:${PATH}; export PATH
LLVMGCCDIR=/home/yue/cfrontend/x86/llvm-gcc; export LLVMGCCDIR
LLVM_LIB_SEARCH_PATH=/home/yue/cfrontend/x86/llvm-gcc/bytecode-libs export LLVM_LIB_SEARCH_PATH

alias llvmgcc='/home/yue/cfrontend/x86/llvm-gcc/bin/gcc'
alias llvmg++='/home/yue/cfrontend/x86/llvm-gcc/bin/g++'
how to solve it?



John T. Criswell