lkml.org 
[lkml]   [2015]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] scsi: kconfig: When possible, compile drivers with COMPILE_TEST
On 14/10/15 23:42, James Bottomley wrote:
> On Wed, 2015-10-14 at 22:13 +0100, Luis de Bethencourt wrote:
>> These drivers only have runtime but no build time dependencies, so they can
>> be built for testing purposes if the Kconfig COMPILE_TEST option is enabled.
>>
>> This is useful to have more build coverage and make sure that drivers are
>> not affected by changes that could cause build regressions.
>
> I don't think I understand the purpose. If the object is to build a
> load of old ISA drivers, why not just turn on CONFIG_ISA in the test
> build? That's how I build test SCSI on my systems.
>
> James
>
>

Hi James,

The idea is that the more drivers are built with make allyesconfig, the better.

I added COMPILE_TEST to all the drivers that can be built without having ISA,
since they depend on runtime and not in build time. I understand your point,
which raises the question of why isn't CONFIG_ISA set to Y in make allyesconfig.

Would this be possible?

Thanks for the review,
Luis


\
 
 \ /
  Last update: 2015-10-15 02:01    [W:0.060 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site