Re: [rt-tests 0/4] Streamlining code base?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed,  2 Sep 2020 10:27:21 +0200
Daniel Wagner <dwagner@xxxxxxx> wrote:

> Hi Clark and John,
> 
> I'd like to streamline all tools, so that the usage, command arguments
> and the output is more consistent. Every tool seems to be a bit
> different which makes all automatization around the tools more complex
> than needed.
> 
> Eventually, I'd like to add an easy machine parseable output from all
> tools. So what do you think? Stupid effort, go away?

I think it's a noble goal and I'd be up for it, especially trying to come
up with a parsable output format. Got any thoughts on it? Personally I'd 
go for (in order of preference): 

	XML
	JSON
	Random Gibberish
	Any Damned thing
	YAML

Clark

Did I mention that I hate YAML?

> 
> Here are a bunch of patches to illustrate what I mean. Before invest
> too much time I'd like to discuss it, e.g. format.
> 
> Cheers,
> Daniel
> 
> Daniel Wagner (4):
>   cyclicdeadline: Streamline usage output and man page
>   deadline_test: Streamline usage output and man page
>   oslat: Streamline usage output and man page
>   oslat: Use string parser utilies
> 
>  src/include/rt-utils.h              |   1 +
>  src/lib/rt-utils.c                  |  30 ++++++
>  src/oslat/oslat.8                   |   2 +-
>  src/oslat/oslat.c                   | 143 ++++++++--------------------
>  src/sched_deadline/cyclicdeadline.8 |  24 ++---
>  src/sched_deadline/cyclicdeadline.c |  41 ++++----
>  src/sched_deadline/deadline_test.8  |  37 ++++---
>  src/sched_deadline/deadline_test.c  |  47 +++++----
>  8 files changed, 145 insertions(+), 180 deletions(-)
> 
> -- 
> 2.28.0
> 


-- 
The United States Coast Guard
Ruining Natural Selection since 1790




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux