Re: [RFC][PATCH 00/19] Add timekeeping tests to kernel selftest

From: John Stultz
Date: Mon Mar 02 2015 - 12:39:36 EST


On Mon, Mar 2, 2015 at 9:21 AM, Shuah Khan <shuahkh@xxxxxxxxxxxxxxx> wrote:
> On 03/02/2015 10:14 AM, John Stultz wrote:
>> Other then that, I've got a few compiler warning cleanup and a fix for
>> CROSS_COMPILE, so I'll resbumit the set tomorrow or later this week.
>> So let me know if there are any other changes you'd like and I'll roll
>> those in.
>
> Please use kselftest.h reporting mechanism for new tests. posix_timers.c
> is updated to use it and it would make sense use it for new tests as
> well.

Hrm.. I'm not objecting to this, but one thing I've tried to do with
my test suite is minimize any sort of test-infrastructure
dependencies, so as much as possible, single test files can be plucked
out, built and run by themselves. Not sure if this concern is
something I'm just crazy about or if others see value in this as well.
:)

The kselftest.h calls are simple enough, so I'll try to integrate the
changes in and see if there's a nice way to keep the test files
functioning externally too.

thanks
-john
--
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/