[llvm] r232785 - test: Make a start on a test suite for libLTO.

Nick Lewycky nicholas at mxc.ca
Sat Mar 21 01:30:20 PDT 2015


Peter Collingbourne wrote:
> On Thu, Mar 19, 2015 at 07:51:54PM -0700, Nick Lewycky wrote:
>>> ==============================================================================
>>> --- llvm/trunk/test/tools/lto/lit.local.cfg (added)
>>> +++ llvm/trunk/test/tools/lto/lit.local.cfg Thu Mar 19 18:55:38 2015
>>> @@ -0,0 +1,2 @@
>>> +if not 'ld64_plugin' in config.available_features:
>>> +   config.unsupported = True
>>>
>>
>> This disables the whole directory. There's only one test in the directory,
>> but it seems like it would make sense for there to be tests for different
>> LTO customers in here. Could you make this a "REQUIRES:" thing instead, so
>> that we can mark the tests individually?
>
> These tests are specifically for the libLTO DSO interface. I am not aware
> of any (generally available) consumers of that interface other than ld64
> on Darwin. If that changes we might want to re-organize this directory,
> but not before then.

That sounds reasonable. Thanks!

Nick



More information about the llvm-commits mailing list