[LLVMbugs] [Bug 161] NEW: Test suite interprets tmp directory as a directory of tests

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Tue Dec 2 06:51:23 PST 2003


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=161

           Summary: Test suite interprets tmp directory as a directory of
                    tests
           Product: Test Suite
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: QMTest
        AssignedTo: criswell at uiuc.edu
        ReportedBy: criswell at uiuc.edu


If the source tree and object tree are the same, then the QMTest machinery
considers the temporary directory created for running tests (llvm/test/tmp) to
be a directory running tests.  It attempts to read tests from the temporary
directory and fails with the following error:

Traceback (most recent call last):
  File "/usr/local/lib/qm/qm/test/qmtest.py", line 78, in ?
    exit_code = command.Execute()
  File "/lib/qm/qm/test/cmdline.py", line 569, in Execute
  File "/lib/qm/qm/test/cmdline.py", line 1173, in __ExecuteRun
  File "/lib/qm/qm/test/database.py", line 1043, in ExpandIds
  File "/lib/qm/qm/test/suite.py", line 123, in GetAllTestAndSuiteIds
  File "/home/yue/llvm/test/QMTest/llvmdb.py", line 228, in GetSuite
    (dirs, files) = self.GetDirsAndFiles (suitepath)
  File "/home/yue/llvm/test/QMTest/llvmdb.py", 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'

Kudos to yueqiang for finding this bug.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list