[Piglit] [PATCH] framework: Replace custom serialization format with json
Chad Versace
chad at chad-versace.us
Tue Jul 12 16:59:14 PDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
There's a typo in the commit message.
On 07/12/2011 04:56 PM, Chad Versace wrote:
> The results file produced by piglit-run.py contains a serialized
> TestrunResult, where the serialization format is horridly homebrew. This
> commit replaces that insanity with json.
>
> Benefits:
> - Net loss of 164 lines of code.
> - By using the json module in the Python standard library, serializing
> and unserializing is nearly as simple as `json.dump(object, file)`
> and `json.load(object, file)`.
> - By using a format that is easy to format, it is now possible for
^^^^^^
manipulate
> users to embed custom data into the results file.
- --
Chad Versace
chad at chad-versace.us
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJOHN/SAAoJEAIvNt057x8iXYoP+wR5SuI0GbI8cqr297OB3+Og
crGKFOaBmRGJXlngCgfMzQptIiOCw+rQS2cbGskbSF9cfzxZmr7GKCMjLxZBo9UO
UpE5sp4CgHvVCX/not5E/dYjepxgp1GlvCdpebfj47eQlMzqJ56mG27dDAFI0s7m
Jgm4A2FkfCBEu6gg2ipaoVBPM70wn4ewios+ypHrofbvZnQI1gDuRCqNEzBBGnZT
1siDnGh2DIG4LW4mTkqM7BY3vtd2VJfh1GjDfBeVGnsj5qJ21Js8HMiEtDJUBFzM
OKWNc7UV/xlicBgdp9jlUbWjE7SFcH63ltQhBOsJCHgK04cfYs8JTQw+Vh/pm8FC
Gl9Dfo2KYSyQ0HpKklinK9NfucseTu0qLFz4T/n7JnZ3qZ/wHqSMM10nKv5xj17U
VRBeaK9pE3Sr22/wcSodZf4Gn6AVfc6zOUk2F0oTgoRtLOTMDxpzhiKtrnv3RBCX
ABrB8dvWduA4WUWONKvryPKGMPJJYgrEgjtb6yHlTTdCfGcMDnaEY0DW8Raywatp
vB6MtIcF+HTr+6QpGlzQPQ7GD029lEutUPc10zJcKODHg//jE6WfA22jAelLHEoC
OKxoN5RfKt1yYdM/SM0mvJ+FdVDARCaFp1FoTgUcWhSi+59WcauQmgkA0M+TNM2p
Ekv09LAnnhRkcR/bWY0W
=bnDb
-----END PGP SIGNATURE-----
More information about the Piglit
mailing list