Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247255

Re: [PATCH] scsi: kconfig: When possible, compile drivers with COMPILE_TEST

From James Bottomley <James.Bottomley@HansenPartnership.com>
Newsgroups linux.kernel
Subject Re: [PATCH] scsi: kconfig: When possible, compile drivers with COMPILE_TEST
Date 2015-10-15 01:40 +0200
Message-ID <qjDOh-5ts-13@gated-at.bofh.it> (permalink)
References <qjBCO-2bI-15@gated-at.bofh.it> <qjD1U-4gA-11@gated-at.bofh.it> <qjDOh-5ts-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2015-10-15 at 00:30 +0100, Luis de Bethencourt wrote:
> 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?

It happens today, but it depends on architecture.  An allyesconfig on
ia32 should have it set and possibly a few others.  There's no reason an
x86-64 couldn't have it set, it's just that x86-64 was the architecture
break where ISA was discontinued, so there's no real point building that
configuration.

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] scsi: kconfig: When possible, compile drivers with COMPILE_TEST Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-10-14 23:20 +0200
  Re: [PATCH] scsi: kconfig: When possible, compile drivers with  COMPILE_TEST Randy Dunlap <rdunlap@infradead.org> - 2015-10-15 00:30 +0200
  Re: [PATCH] scsi: kconfig: When possible, compile drivers with  COMPILE_TEST James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-10-15 00:50 +0200
    Re: [PATCH] scsi: kconfig: When possible, compile drivers with COMPILE_TEST Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-10-15 01:40 +0200
      Re: [PATCH] scsi: kconfig: When possible, compile drivers with  COMPILE_TEST James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-10-15 01:40 +0200
        Re: [PATCH] scsi: kconfig: When possible, compile drivers with COMPILE_TEST Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-10-16 15:10 +0200
  Re: [PATCH] scsi: kconfig: When possible, compile drivers with  COMPILE_TEST kbuild test robot <lkp@intel.com> - 2015-10-15 03:20 +0200

csiph-web