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

Chandler Carruth chandlerc at google.com
Tue Aug 7 01:01:28 PDT 2012


Detailed comments in the codereview app...

Generally this seems a good initial step. We still need to do some cleanup
of the unittests and think more about the structure of the output tests (as
we discussed in IRC)


On Mon, Aug 6, 2012 at 1:37 AM, Alexey Samsonov <samsonov at google.com> wrote:

> (ping)
>
> On Wed, Aug 1, 2012 at 5:51 PM, Alexey Samsonov <samsonov at google.com>wrote:
>
>> 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
>>
>
>
>
> --
> Alexey Samsonov, MSK
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120807/c6c03434/attachment.html>


More information about the llvm-commits mailing list