Re: [PATCH 1/2] kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM

From: John Stultz
Date: Thu Mar 26 2015 - 12:29:40 EST


On Thu, Mar 26, 2015 at 4:31 AM, Prarit Bhargava <prarit@xxxxxxxxxx> wrote:
> On 03/25/2015 07:44 PM, John Stultz wrote:
>> + printf("%-22s %s missing CAP_WAKE_ALARM? : [UNSUPPORTED]\n",
>> + clockstring(clock_id),
>> + flags ? "ABSTIME":"RELTIME");
>
> Something to think about: Do you want to write these tests to be more human
> readable or machine readable? In theory with awk I guess it doesn't matter too
> much, however, it is something that we should think about moving forward.

So this came up at ELC in a few discussions. Right now there isn't any
established output format, but there's some nice and simple
infrastructure for counting pass/fails.

However, in talking to Tyler, I know he has started looking at how to
integrate the selftests into our automated infrastructure and was
interested in how we improve the output parsing for reports. So there
is interest in improving this, and I'm open to whatever changes might
be needed (adding extra arguments to the test to put them into "easy
parse" mode or whatever).

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/