Re: automated test? (was Re: Linux 2.6.17.7)

From: David Lang
Date: Wed Jul 26 2006 - 13:15:02 EST


On Wed, 26 Jul 2006, Adrian Bunk wrote:

On Wed, Jul 26, 2006 at 03:39:49PM +0100, Andrew de Quincey wrote:
On Wednesday 26 July 2006 15:29, Adrian Bunk wrote:
...
The real problem is:
How do we get some testing coverage of -stable kernels by users to catch
issues?
And compile errors are the least of my worries.

Yeah - I believe some people did test the DVB -stable patches, but obviously
without the budget-av driver compile option enabled, so it didn't compile
that code. DVB supports quite a few cards, so its easy to accidentally leave
off one of the options when doing a mass compile of all drivers.

The only thing I can think of would be to require -stable patch submitters to
supply a list of CONFIG options that must be on to enable compilation of the
new code so people know exactly how to enable it for testing... but obviously
since those would be manually specified, they can be wrong too. But at least
it would show they'd thought about it a bit....

This helps only with compilation errors, which are as I said the least
of my worries.

however, this can be automaticly tested (or at least the config options specified can be tested)

But does the hardware driven by this driver work?
And if it does, is there a bug in the patch that causes the kernel to
crash after some hours?

this cannot be tested by anyone who doesn't use the driver in question, and frequently that includes the programmer who makes the changes.

there's no way to protect against a logic error in a driver, however it is possible to put a safety net in place to catch compile problems due to mistakes.

should such a net be put into place? (along with asking submitters what compile options are relavent to their code), or is this a mistake that is rare enough to just live with it when it happens?

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