[llvm-commits] PATCH: [ASan] Add support for running unit tests by lit (as a part of 'make check-asan' command)

Alexey Samsonov samsonov at google.com
Wed Aug 1 06:51:38 PDT 2012


Hi!

This patch adds the basic support for running ASan unit tests (compiled in
a very hacky way) by llvm-lit tool, as a part of "make check-asan" command
from build tree.
Even though all tests are linked into a single "AsanTest" binary, they are
sharded by llvm-lit tool and 119 tests pass in 6.47 seconds on my
workstation (in 12 threads).
The patch also disables ASan output tests (that use clang compiler from
build tree) for cross-compilation.

Code review: http://codereview.appspot.com/6454079/

-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120801/4fa33fd1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue6454079_10.diff
Type: application/octet-stream
Size: 5803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120801/4fa33fd1/attachment.obj>


More information about the llvm-commits mailing list