This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/4] Make bench.out in json format


On 25 March 2014 11:58, Siddhesh Poyarekar <siddhesh@redhat.com> wrote:
> On Tue, Mar 25, 2014 at 11:48:24AM +0000, Will Newton wrote:
>> In principle this seems ok to me, although it does seem to make the
>> output quite ugly for the human reader. Would it be possible to get
>> the layout a bit tidier? i.e. indentation and newlines.
>
> I half-heartedly tried to do it initially and gave up midway.  I could
> do a more deliberate pass on top of these patches to get the
> formatting cleaner to read than it currently is.
>
> Of course, the more important question here is whether there's anyone
> who hates the idea of using JSON as the preferred format.  Going
> forward I think we ought to use JSON formats to describe the string
> test outputs as well.

I currently have scripts that parse the output of the string tests and
it's not too bad, but a properly defined format would probably make it
a bit easier. However I think it is useful to be able to eyeball/diff
test results to be able to sanity check them as well as parse them
programatically.

I agree with your choice not to use XML. ;-)

-- 
Will Newton
Toolchain Working Group, Linaro


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]