This is an archive of the discontinued LLVM Phabricator instance.

[LNT] Python 3 support: encode LNT report format in UTF-8
ClosedPublic

Authored by thopre on Sep 30 2019, 6:57 AM.

Details

Summary

Change encoding of LNT report format to be a UTF-8 JSON file since that
is the only encoding the json module can produce in Python 3. While this
is an incompatible change of the output, the existing import of LNT
report format already expects UTF-8 JSON. Therefore this fixes an import
issue for format produced from there and does not change anything for
already produced format which could not be imported and still cannot be
imported.

Diff Detail

Repository
rL LLVM