This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/4] Make bench.out in json format
- From: Will Newton <will dot newton at linaro dot org>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Tue, 25 Mar 2014 12:01:26 +0000
- Subject: Re: [PATCH 1/4] Make bench.out in json format
- Authentication-results: sourceware.org; auth=none
- References: <20140325102859 dot GA1850 at spoyarek dot pnq dot redhat dot com> <CANu=DmjwbV-ekyagafSQjan7+HRpZCBu7omCUWU7yMtoo5GJ_g at mail dot gmail dot com> <20140325115813 dot GF1850 at spoyarek dot pnq dot redhat dot com>
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