[LLVMdev] How to run regression tests for ARM?

Vadim Markovtsev markhor at ispras.ru
Thu Sep 9 02:31:43 PDT 2010


Hello.

I experience a problem when I try to run LLVM tests on the ARM "Beagle" 
board with Debian Lenny installed on it. When I execute "make check", I 
get the following output:
||

llvm[0]: Running test suite
make[1]: Entering directory `/mnt/markhor/llvm/nativeBuild/test'
Making a new site.exp file...
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 512000 ; \
       PATH="/mnt/markhor/llvm/nativeBuild/Release-Asserts/bin:/mnt/markhor/llvm/test/Scripts:/bin:/home/markhor/Development/install/nativeArm/bin:/usr/local/bin:/usr/bin:/bin:/usr/games" \
       /usr/bin/runtest --ignore "llvm2cpp.exp" )
WARNING: No tool specified
Test Run By markhor on Thu Sep  9 13:13:09 2010
Target is armv7l-unknown-linux-gnueabi
Host   is armv7l-unknown-linux-gnu

         ===  tests ===

Schedule of variations:
     unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
WARNING: Assuming target board is the local machine (which is probably wrong).
You may need to set your DEJAGNU environment variable.
Running /mnt/markhor/llvm/test/Analysis/BasicAA/dg.exp ...
FAIL: /mnt/markhor/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll
Failed with posix(ENOENT,no such file or directory) at line 1
while running:  opt<  /mnt/markhor/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll -gvn -instcombine -S | not /bin/grep sub
couldn't execute "not": no such file or directory

...(more similar errors)...

FAIL: /mnt/markhor/llvm/test/Analysis/BasicAA/2009-10-13-AtomicModRef.ll
Failed with posix(ENOENT,no such file or directory) at line 1
while running:  opt -gvn -instcombine -S<  /mnt/markhor/llvm/test/Analysis/BasicAA/2009-10-13-AtomicModRef.ll | FileCheck /mnt/markhor/llvm/test/Analysis/BasicAA/2009-10-13-AtomicModRef.ll
couldn't execute "FileCheck": no such file or directory

...(more similar errors)...

FAIL: /mnt/markhor/llvm/test/Analysis/BasicAA/phi-and-select.ll
Failed with posix(ENOENT,no such file or directory) at line 1
while running:  opt<  /mnt/markhor/llvm/test/Analysis/BasicAA/phi-and-select.ll -aa-eval -print-all-alias-modref-info -disable-output  |&  /bin/grep {NoAlias:double\* [%]a, double\* [%]b$} | count 4
couldn't execute "count": no such file or directory
FAIL: /mnt/markhor/llvm/test/Analysis/BasicAA/pure-const-dce.ll
Failed with posix(ENOENT,no such file or directory) at line 1
while running:  opt<  /mnt/markhor/llvm/test/Analysis/BasicAA/pure-const-dce.ll -basicaa -gvn -S | /bin/grep TestConst | count 2
couldn't execute "count": no such file or directory

...(more similar errors)...

^Cgot a INT signal, interrupted by user

         ===  Summary ===

# of expected passes        37
# of unexpected failures    23
make[1]: *** [check-local] Error 1
make: *** [check] Interrupt

Please explain what are such tools as "not", "count" and "FileCheck" 
that for sure do not exist on my system.
||

runtest --version
Expect version is    5.43.0
Tcl version is        8.4
Framework version is    1.4.99

Thanks,
   Markovtsev Vadim, ISP RAS.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100909/2b9f9bc1/attachment.html>


More information about the llvm-dev mailing list