[Fuego] unified output format work (as of July 14)

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Tue Jul 18 05:38:36 UTC 2017


> -----Original Message-----
> From: Bird, Timothy [mailto:Tim.Bird at sony.com]
> Sent: Tuesday, July 18, 2017 2:34 PM
> To: Daniel Sangorrin; fuego at lists.linuxfoundation.org
> Subject: RE: [Fuego] unified output format work (as of July 14)
> 
> 
> 
> > -----Original Message-----
> > From: Daniel Sangorrin [mailto:daniel.sangorrin at toshiba.co.jp]
> >
> > Hi Tim,
> >
> > > -----Original Message-----
> > > From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> > bounces at lists.linuxfoundation.org] On Behalf Of Daniel Sangorrin
> > > Sent: Tuesday, July 18, 2017 10:07 AM
> > > To: 'Bird, Timothy'; fuego at lists.linuxfoundation.org
> > > Subject: Re: [Fuego] unified output format work (as of July 14)
> > ...
> > > > I'm also worried about the difficulty involved in programming the
> > visualization
> > > > and report generation tools due to the nesting of
> > test_set,test_case,measurements.
> > > > I think you mentioned that you took out arbitrary nesting.  Is that correct?
> > >
> > > Arbitrary nesting is working.
> >
> > Arbitrary nesting is indeed difficult, I had to make most functions recursive.
> > One alternative is to fusion the names of nested test sets. This would
> > help a lot simplifying the code.
> >
> > For example:
> >     test_sets: [
> > 	{ "name": "LTP.syscalls",
> >                    "test_cases": [kill01, ...]
> >                 },
> >                 {"name": "LTP.RT.stress",
> >                   "test_cases": [rt_stress01, rt_stress02, ...]
> >                 }
> >    ]
> >
> > If you agree, I can rewrite the code with the assumption that there is only 1
> > level
> > of test sets.
> 
> I think I like this better than spreading the name parts over multiple levels.
> This will be easier for humans to work with, and if the report generation
> tools need to reorganize the data (grouping items at different levels), this
> seems like something that can be done without too much difficulty.
>  -- Tim
> 

OK, thanks. This will simplify the coding quite a lot.
Hopefully I can get something for today's meeting.

Thanks,
Daniel





More information about the Fuego mailing list