linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew de Quincey <adq_dvb@lidskialf.net>
To: Adrian Bunk <bunk@stusta.de>
Cc: David Lang <dlang@digitalinsight.com>,
	Arnaud Patard <apatard@mandriva.com>, Greg KH <gregkh@suse.de>,
	linux-kernel@vger.kernel.org, stable@kernel.org
Subject: Re: automated test? (was Re: Linux 2.6.17.7)
Date: Wed, 26 Jul 2006 15:10:02 +0100	[thread overview]
Message-ID: <200607261510.03098.adq_dvb@lidskialf.net> (raw)
In-Reply-To: <20060726130207.GC23701@stusta.de>

On Wednesday 26 July 2006 14:02, Adrian Bunk wrote:
> On Tue, Jul 25, 2006 at 09:47:43AM -0700, David Lang wrote:
> > On Tue, 25 Jul 2006, Andrew de Quincey wrote:
> > >On Tuesday 25 July 2006 10:55, Arnaud Patard wrote:
> > >>Greg KH <gregkh@suse.de> writes:
> > >>
> > >>Hi,
> > >>
> > >>>We (the -stable team) are announcing the release of the 2.6.17.7
> > >>> kernel.
> > >>
> > >>Sorry, but doesn't compile if DVB_BUDGET_AV is set :(
> > >>
> > >>>Andrew de Quincey:
> > >>>      v4l/dvb: Fix budget-av frontend detection
> > >
> > >In fact it is just this patch causing the problem:
> >
> > <SNIP>
> >
> > >Sorry, I had so much work going on in that area I must have diffed the
> > >wrong
> > >kernel when I created this patch. :(
> >
> > is it reasonable to have an aotomated test figure out what config options
> > are relavent to a patch (or patchset) and test compile all the
> > combinations to catch this sort of mistake?
>
> If you think about it, you'll notice it's definitely not reasonable:
>
> #include <linux/module.h> brings you a dependency on 5 config options.
> #include <linux/pci.h> brings you a dependency on 6 config options.
>
> By only including these two headers you are at 2048 combinations.
> The number of valid configurations will be lower, but 500 test compiles
> sound realistically.
>
> With have a dozen #include's you might need more than a million test
> compiles.
>
> With a dozen #include's, you might need a trilion [1] test compiles.
>
>
> Compile errors are quickly catched and don't cause any serious problem.
>
> What bothers me more is that noone tested this patch against the kernel
> it was applied against.
>
> The submitter didn't test it works (he didn't even test the compilation).

Yes I did - I didn't test the final generated patch unfortunately since I 
assumed it worked. The kernel I _meant_ to diff against worked perfectly :(

  reply	other threads:[~2006-07-26 14:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25  3:42 Linux 2.6.17.7 Greg KH
2006-07-25  3:43 ` Greg KH
2006-07-25  9:55 ` Arnaud Patard
2006-07-25 10:23   ` Andrew de Quincey
2006-07-25 16:47     ` automated test? (was Re: Linux 2.6.17.7) David Lang
2006-07-25 16:56       ` Arjan van de Ven
2006-07-25 17:07         ` Michael Krufky
2006-07-25 18:42           ` Jean Delvare
2006-07-25 19:26             ` Andrew de Quincey
2006-07-25 21:20         ` Matthias Andree
2006-07-25 21:28           ` David Lang
2006-07-25 20:10       ` Arnaud Patard
2006-07-26 13:02       ` Adrian Bunk
2006-07-26 14:10         ` Andrew de Quincey [this message]
2006-07-26 14:29           ` Adrian Bunk
2006-07-26 14:39             ` Andrew de Quincey
2006-07-26 15:00               ` Adrian Bunk
2006-07-26 15:07                 ` Andrew de Quincey
2006-07-26 17:11                 ` David Lang
2006-07-26 17:15 Chuck Ebbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200607261510.03098.adq_dvb@lidskialf.net \
    --to=adq_dvb@lidskialf.net \
    --cc=apatard@mandriva.com \
    --cc=bunk@stusta.de \
    --cc=dlang@digitalinsight.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).