LLVM install tree for the LLVM testsuite

Hi,

I’m trying to run tests from the LLVM testsuite (from http://llvm.org/svn/llvm-project/test-suite/trunk) using an already installed LLVM compiler. To instruct the testsuite’s Makefiles where the LLVM tools live, I use the LLVMTOOLCURRENT Makefile variable:

make LLVMTOOLCURRENT=$PATH_TO_LLVM_INSTALL_DIR TEST=nightly report

Is there a cleaner way of achieving this?

Thanks in advance!

Best regards,
Andrei Terechko