[igt-dev] [PATCH i-g-t v2 0/2] runner: Unprintable characters in json
Petri Latvala
petri.latvala at intel.com
Fri Jan 10 12:06:40 UTC 2020
Rebase of https://patchwork.freedesktop.org/series/70492/ adjusted for
handling dynamic subtest outputs. Patch 2/2 won't survive sending by
email, or patchwork's handling, but
https://gitlab.freedesktop.org/adrinael/igt-gpu-tools/commits/unprintable
has this version.
Petri Latvala (2):
runner: Ensure generated json is properly UTF8-encoded
runner/json_tests: Test handling of unprintable output from tests
.../unprintable-characters/0/dmesg.txt | 5 +
.../unprintable-characters/0/err.txt | 258 +++++++++++++++++
.../unprintable-characters/0/journal.txt | 2 +
.../unprintable-characters/0/out.txt | 259 ++++++++++++++++++
.../unprintable-characters/README.txt | 2 +
.../unprintable-characters/endtime.txt | 1 +
.../unprintable-characters/joblist.txt | 1 +
.../unprintable-characters/metadata.txt | 12 +
.../unprintable-characters/reference.json | 72 +++++
.../unprintable-characters/starttime.txt | 1 +
.../unprintable-characters/uname.txt | 1 +
runner/resultgen.c | 45 ++-
runner/runner_json_tests.c | 1 +
13 files changed, 650 insertions(+), 10 deletions(-)
create mode 100644 runner/json_tests_data/unprintable-characters/0/dmesg.txt
create mode 100644 runner/json_tests_data/unprintable-characters/0/err.txt
create mode 100644 runner/json_tests_data/unprintable-characters/0/journal.txt
create mode 100644 runner/json_tests_data/unprintable-characters/0/out.txt
create mode 100644 runner/json_tests_data/unprintable-characters/README.txt
create mode 100644 runner/json_tests_data/unprintable-characters/endtime.txt
create mode 100644 runner/json_tests_data/unprintable-characters/joblist.txt
create mode 100644 runner/json_tests_data/unprintable-characters/metadata.txt
create mode 100644 runner/json_tests_data/unprintable-characters/reference.json
create mode 100644 runner/json_tests_data/unprintable-characters/starttime.txt
create mode 100644 runner/json_tests_data/unprintable-characters/uname.txt
--
2.20.1
More information about the igt-dev
mailing list