qmtest problem

I attempt install and use qmtest for run LLVM testsuit at FreeBSD, but
without success.

I have installed qm-2.2 (latest and single version accessable from
http://www.codesourcery.com/qmtest/download.html in sources)

When I start qmtest for LLVM ("make qmtest" in <llvm-obj-dir>/test
directory - right?) error printed:

---8X---------------
QMTEST_CLASS_PATH=/usr/home/wanderer/pkg/build/llvm/obj/test/QMTest
qmtest -D /home/wanderer/pkg/build/llvm/src/llvm/test run -O
/home/wanderer/pkg/build/llvm/src/llvm/test/QMTest/expectations.unknown.qmr
-c "srcroot=/home/wanderer/pkg/build/llvm/src/llvm" -c
"buildroot=/usr/home/wanderer/pkg/build/llvm/obj" -c "buildtype=Debug" -c
"tmpdir=/usr/home/wanderer/pkg/build/llvm/obj/test/tmp" -c "coresize=0" -c
"cc=gcc" -c "cxx=g++" -c
"llvmgcc=PATH=/usr/home/wanderer/pkg/build/llvm/obj/tools/Debug:/sbin:/bin:/
usr/sbin:/home/wanderer/bin:/home/wanderer/pkg/gcc/bin:/home/wanderer/pkg/bi
nutils/bin:/home/wanderer/pkg/gdb/bin:/home/wanderer/pkg/qmtest/bin:/home/wa
nderer/pkg/valgrind/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
/home/wanderer/pkg/llvm_cfe/bin/gcc" -c
"llvmgxx=PATH=/usr/home/wanderer/pkg/build/llvm/obj/tools/Debug:/sbin:/bin:/
usr/sbin:/home/wanderer/bin:/home/wanderer/pkg/gcc/bin:/home/wanderer/pkg/bi
nutils/bin:/home/wanderer/pkg/gdb/bin:/home/wanderer/pkg/qmtest/bin:/home/wa
nderer/pkg/valgrind/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
/home/wanderer/pkg/llvm_cfe/bin/g++" -c "make=gmake"
Traceback (most recent call last):
  File "/home/wanderer/pkg/qmtest/bin/qmtest", line 190, in ?
    exit_code = main()
  File "/home/wanderer/pkg/qmtest/bin/qmtest", line 168, in main
    exit_code = command.Execute()
  File "/home/wanderer/pkg/qmtest/lib/qm/test/cmdline.py", line 649, in
Execute
    return method()
  File "/home/wanderer/pkg/qmtest/lib/qm/test/cmdline.py", line 1310, in
__ExecuteRun
    test_ids, test_suites \
  File "/home/wanderer/pkg/qmtest/lib/qm/test/database.py", line 922, in
ExpandIds
    if self.HasSuite(id):
  File "/home/wanderer/pkg/qmtest/lib/qm/test/database.py", line 685, in
HasSuite
    self.GetSuite(suite_id)
  File "/usr/home/wanderer/pkg/build/llvm/obj/test/QMTest/llvmdb.py", line
224, in GetSuite
    suitepath = self.dbpath + '/' + self.LabelToPath (suite_id)
  File "/home/wanderer/pkg/qmtest/lib/qm/extension.py", line 113, in
__getattr__
    raise AttributeError, name
AttributeError: LabelToPath

---X8---------------

I check qmtest/lib/qm/test/database.py file for method LabelToPath and not
found it.

Single reference to this method i find in ChangeLog file in QMTest source:

---8X---------------

Boy does THAT look familiar ..

The problem is that you need an older version of QMTest, version 2.0.3
to be exact. The configuration of QMTest that LLVM uses won't work with
2.2

Reid.

Boy does THAT look familiar ..

The problem is that you need an older version of QMTest, version 2.0.3
to be exact. The configuration of QMTest that LLVM uses won't work with
2.2

Ok, I will attempt with QMTest 2.0.3

I think this requirement can be added to
http://llvm.cs.uiuc.edu/docs/TestingGuide.html in "Requirements" section
for simplify testsuit use by novice LLVM users.

Vladimir

Done!