Messages in this thread | | | Date | Thu, 10 Feb 2005 00:28:32 -0300 | From | Werner Almesberger <> | Subject | Re: [PATCH 9/8] lib/sort: turn off self-test |
| |
Matt Mackall wrote: > It's a nice self-contained unit test.
By the way, I think it would be useful if there was a more formalized frame for such unit tests, so that they could be used in automated kernel testing.
To avoid false positives when grepping through the code, perhaps such tests could be placed in separate files, using a different extension, e.g. .ct for ".c test", or in some "test" directory. (That is, in case they're distributed along with the kernel code, which, IMHO, would help to avoid code drift.)
Just an idea ...
- Werner
-- _________________________________________________________________________ / Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net / /_http://www.almesberger.net/____________________________________________/ - 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/
| |