[llvm-commits] PATCH: [compiler-rt] First effort at moving (ASan) reg tests to llvm-lit infrastructure

Alexey Samsonov samsonov at google.com
Wed Jul 25 10:43:28 PDT 2012


Hi, llvm-commits!

AddressSanitizer is long a part of compiler-rt library, but it still uses
custom Makefiles to run unit and regression tests.
This patch is supposed to be a first move towards integrating ASan
regressions test into llvm lit-based testing infrastructure.
With this patch applied, one may run ASan reg tests by simply running "make
check-asan" from cmake build tree:
* tests use fresh clang binary from current build tree.
* tests use the same RUN-lines syntax as llvm/clang reg tests (I've
attached sample reg test to patch).

Could you please take a look if this is desirable direction and if this
patch may be applied?

Note: Currently all ASan code and tests are located in
projects/compiler-rt/lib/asan. (same is true for ThreadSanitizer which
certainly
should soon be integrated into cmake build as well). Should we instead move
all tests for different runtimes into /projects/compiler-rt/test
folder, or we may keep it as is?

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

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


More information about the llvm-commits mailing list