diff options
author | Arthur She <arthur.she@linaro.org> | 2020-10-14 22:32:05 -0700 |
---|---|---|
committer | Arthur She <arthur.she@linaro.org> | 2020-10-14 22:34:41 -0700 |
commit | 2a3cfba9f8e8935215f560d0239f7da4673862f4 (patch) | |
tree | 41de6ff5f62e82799dbf7a5bac06731e846e50c2 /automated/linux/igt | |
parent | a72936a66a4f8c17112c6f9985171c07d3c7f470 (diff) |
igt: process test result log with UTF-8 encoding
Process the test result log with UTF-8 encoding
Signed-off-by: Arthur She <arthur.she@linaro.org>
Diffstat (limited to 'automated/linux/igt')
-rwxr-xr-x | automated/linux/igt/print-test-result.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/igt/print-test-result.py b/automated/linux/igt/print-test-result.py index c6da5c9e..7fe353eb 100755 --- a/automated/linux/igt/print-test-result.py +++ b/automated/linux/igt/print-test-result.py @@ -30,7 +30,7 @@ if __name__ == '__main__': "--json-file", nargs='?', default=sys.stdin, - type=argparse.FileType('r'), + type=argparse.FileType('r', encoding='UTF-8'), help="Test result file in json format") args = parser.parse_args() |