[LLVMdev] Running test suite with LNT failed

陳韋任 chenwj at iis.sinica.edu.tw
Sat Apr 14 03:01:17 PDT 2012


>   Thanks for the tip, Daniel.
> 
>   I realize lnt will search for release build not debug build binary. But I
> still cannot run lnt without problem. Here is the snip of test.log.
> 
> ---
> ../llvm-3.0.obj/Release/bin/clang++ -o Output/build2.simple Output/build2.llvm.o
> make[4]: ../llvm-3.0.obj/Release/bin/clang++: Command not found
> make[4]: [Output/build2.simple] Error 127 (ignored)
> /nfs_home/chenwj/llvm-3.1/test-suite-3.0.src/RunSafely.sh 500 0 /dev/null Output/build2.out-simple Output/build2.simple
> 
>    ......
> 
> /nfs_home/chenwj/llvm-3.1/test-suite-3.0.src/RunToolSafely.sh 60 /nfs_home/chenwj/llvm-3.1/test-suite-3.0.src/DiffOutput.sh
> "\"/nfs_home/chenwj/llvm-3.1/llvm-3.0.obj/Release/bin/fpcmp \"" simple build2
> ******************** TEST (simple) 'build2' FAILED! ********************
> Execution Context Diff:
> /nfs_home/chenwj/llvm-3.1/llvm-3.0.obj/Release/bin/fpcmp: Files differ without tolerance allowance
> ---

  O.K., I think I figure out what's going wrong. Seems lnt doesn't eat relative
path, right? You need give it something like "~/llvm-3.0.obj/Release/bin/clang++"
not "../llvm-3.0.obj/Release/bin/clang++". Does this be documented?

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj




More information about the llvm-dev mailing list