[LLVMdev] Configuring test-suite

Renato Golin rengolin at systemcall.org
Fri Oct 26 14:53:34 PDT 2012


I'm trying to setup the test-suite and am getting short of running it...

Following the steps here:


I got as far as getting lnt installed, but when I run the "lnt runtest
nt" it fails:

compilers.py:81: error: unable to determine compiler version:
'clang++': 'clang version 3.2 '

Seems my string doesn't have a "(branch rev)" at the end, ok
hard-coded it to "(branch rev)" and got a new error:

$ sandbox/bin/python sandbox/bin/lnt runtest nt --sandbox sandbox --cc
debug/bin/clang++ --test-suite test-suite
nt.py:1197: note: inferred C++ compiler under test as:
2012-10-26 21:43:48: checking source versions
2012-10-26 21:43:49: scanning for LNT-based test modules
2012-10-26 21:43:49: found 0 LNT-based test modules
2012-10-26 21:43:49: using nickname: 'brubeck__clang_DEV__x86_64'
2012-10-26 21:43:49: starting test in
2012-10-26 21:43:49: configuring...
2012-10-26 21:43:56: building test-suite tools
nt.py:748: fatal error: unable to build tools, aborting!

Going to the dir where it built, and typing:

$ make -C tools/
make: Entering directory
make -C /home/rengolin/devel/llvm/sandbox/test-2012-10-26_21-43-48/tools all \
	  ORIGINAL_CC="cc" \
o timeit-target /home/rengolin/devel/llvm/test-suite/tools/timeit.c    -O3
make: o: Command not found
make: [timeit-target] Error 127 (ignored)
E -o TargetConfig.mk -x c
make: E: Command not found
make: [TargetConfig.mk] Error 127 (ignored)

o? E? Might be environment messup, but I'm a little lost. Does this
work out-of-the box to anyone?



More information about the llvm-dev mailing list