Ilia, I've tested this with your use case, does seem reasonable? On Thursday, June 05, 2014 04:33:00 PM Dylan Baker wrote: > This patch updates our json to version 1. Changes from version 0 to > version 1 are as follows: > > - renamed 'main' to 'results.json' > - dmesg must be a string (It was stored a list in some version 0 > results) > - subtests are never stored as duplicate entries, a single instance of > the test is recorded, (In version 0 both are possible) > - there is no info entry in version 1, err, out, and returncode are > always split into seperate entries > > This patch adds support to the results module for handling updates to > the results in a sane way. It does this by adding a result_version > attribute to the TestrunResult (which is stored as json), and > implementing the ability to incrementally update results between > versions. > > It does this automatically on load, non-destructively, moving the old > results to results.json.old, but does write the updated results to disk, > making the cost of this update a one time cost. > > v2: - Handle non-writable directories and files, this also fixes using > file-descriptors as inputs > > Signed-off-by: Dylan Baker <[email protected]> > ---
[snip]
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
